藍+85CD

Results 99 comments of 藍+85CD

Ah, seems I forgot to update the exports of `@unocss/vite`, fixed now. ![image](https://github.com/unocss/unocss/assets/50108258/94e691b9-2e23-4bf5-8a94-6cdc5f7d856f)

> Hmm! Sounds like https://granary.io/ would work? eg the link to convert https://kwaa.dev/redmi2-pmos to AS2 is https://granary.io/url?input=html&output=as2&url=https%3A%2F%2Fkwaa.dev%2Fredmi2-pmos > > One catch is that granary currently converts _all_ items on the...

> Oh also, you can get the AS2 URL of the Mastodon post that Bridgy Publish created in the response's `Location` header. If you're using webmention, it's also in the...

> Sure! Thanks, understood. Did you look at how Bridgy Publish returns the Mastodon post's URL in `Location` and `uri`, like I mentioned? That URL serves your post as AS2,...

I'm too lazy to implement this, but I'll accept PR. (UI needs to be in line with Urara / daisyUI style) for reference, I think [pagefind](https://github.com/cloudcannon/pagefind) looks good.

It's a bit surprising that `await import()` in the CJS environment also reads `"require"` instead of `"import"`. For this case, I would recommend adding `"default"` instead of `"require"` because it...

I don't feel much need for it: putting functions together doesn't require much thought and programming dexterity. ```ts import { argbFromHex, themeFromSourceColor, applyTheme } from '@material/material-color-utilities' // Apply the theme...

It looks like you are using CJS require, and this is an **ESM only** package. ```ts const { Hct } = require('@material/material-color-utilities') // ERR_PACKAGE_PATH_NOT_EXPORTED import { Hct } from '@material/material-color-utilities'...

That may have something to do with your environment. you can try it at Stackblitz and it imports and works fine: https://stackblitz.com/edit/node-gje8kb `npm install & node index.mjs`

> @kwaa Do you have any other ideas about how to resolve the issue? Use my fork as above, or wait for this repo to support cjs... (probably not)