vuetify-loader
vuetify-loader copied to clipboard
fix: sourcemap not found and loading crash in nuxt
Hello everything is fine? This Pull request has 3 objectives:
- Help to better organize the vite plugin (separate responsibilities from roles)
- Fix the bug where nuxt couldn't find the style files (because of the relative path) and it crashed.
- Fix the lib virtual prefix, to use nuxt main pattern.
BUGS:
-
The relative path of the target was making the nuxt load break, for some reason the path was generating a url that didn't match the file.
-
The other sourcemap bug was caused by the \0 prefix, where the virtual is what nuxt is prepared to read (I imagine this change won't break vite builds).
https://github.com/vuetifyjs/vuetify-loader/issues/311 https://github.com/vuetifyjs/vuetify-loader/issues/290
Thanks in advance for your attention, feel free to adjust.
👍 Hope this helps
Hi @KaelWD .
If it's not a problem, could you see if this PR makes sense please?
@KaelWD Can you please review it?
any news?
will this merged?
Hello guys,
Any expected timeline on when this will be fixed?
It's the only thing that stops Nuxt users from being able to customize SASS variables.
Hello, is there any news on this? hope it gets merged soon
This wasn't merged because it basically rewrites the entire plugin for no reason, if it's still relevant please only include changes necessary to fix the issue.
Hi @KaelWD I wanted to inform you that I've created a new pull request (#328) addressing the feedback provided on the original pull request (#313).