Anthony Fu

Results 1222 comments of Anthony Fu

Maybe it might be better to be checked by TypeScript? Or are you meaning to use it in non-TS env? /cc @danielroe

The main concerns for me of this approach are: - In TypeScript definition, we already (or should) provide the enum type of this option - Additional File IO usage, this...

The import for `unplugin-icons` uses something like `import Icon from '~icons/logos/nuxt-icon'`, which in the original behavior it will always prepend with `../` and got this error: ![image](https://user-images.githubusercontent.com/11247099/133502670-3a8aa366-c3a4-4ddc-84a2-63a443992b72.png) See https://github.com/antfu/unplugin-icons/pull/63 for...

Do you mean we rename `isAbsolute` to `resolvePath`?

Guess that would be nice to have a new module for Nuxt 3 based on Nitro?

PR for the fix: https://github.com/vuejs/core/pull/6489

Made this that could probably be a solution: https://github.com/vuejs/core/pull/6736

Please revert the format changes. Thanks.

Could you add some tests to it?