-
Notifications
You must be signed in to change notification settings - Fork 40
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
Relative Url Rewriting #19
Comments
Sorry @GravlLift but what you ask for is a feature I don't intend to implement. |
Sass doesn't like relative urls in non-entry files. Webpack gets around this shortcoming with the resolve-url-loader plugin, which uses sourcemaps generated by Sass to rewrite the urls after the compilation has completed.
Esbuild doesn't yet output sourcemaps into the build output proper, but this plugin could still have access to them by adding a sourcemap option to the sass call and then saving the map property that's returned. With those maps in memory, similar relative url rewriting could be achieved.
The text was updated successfully, but these errors were encountered: