Closed ExEr7um closed 3 months ago
@danielroe can you look, please, if it's an upstream issue or not?
This isn't an issue with the nuxt-icon
module - I can reproduce with a plain project + a component with scoped styles. It seems to be thrown by vite-plugin-vue, which is trying to load a file from the filesystem without converting the path back to the correct format.
I would suggest raising in https://github.com/vitejs/vite-plugin-vue. 🙏
If path to project contains non-ASCII characters build fails.
I found out that it happens because of
<style>
block, if I remove it inIcon.vue
andIconCSS.vue
then build succeeds. I think it's not as issue withnuxt-icon
in particular, probably upstream issue, but I failed to reproduce it without the module.Reproduction
https://codesandbox.io/p/devbox/recursing-moon-q5nl7r
You will get:
Related issues