-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: refactor the loader as a postcss plugin #196
Comments
Its plausible that the algorithm could be done just in This proposal would need a substantial number of upvotes. Please 👍 to add your vote. |
I found a stupid way to overcome this issue: compile scss to css via webpack & this plugin first and then feed the css to vite, which can perfectly rebase relative paths. |
Not ideal but good that you are unblocked @yfwz100. |
Looks like @paraofheaven has already tried a simple conversion with postcss-resolve-url on npm. @paraofheaven I don't see much usage is this currently working? |
It seems that it's not active any more. I'll try it later. |
The package postcss-resolve-url cannot be used, it looks like a copy from Next.js |
I switch from webpack to vite/rollup and miss the counterpart of this plugin in vite/rollup. Don't know if it's possible to publish a plugin for postcss or rollup as well?
The text was updated successfully, but these errors were encountered: