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
Singleton + sourcemap do not work together #134
Comments
Also looking for this. Is there any technical difficulty for implementing this? |
@niksy yes, it is technical difficulty, but if you have idea how to solve this PR welcome |
This is annoying because using the The only downside to the |
It is limitation for |
In theory it is possible, but it is create overload in runtime code because we need merge source maps and it is not cheap for client computer, also we don't recommend use singleton due it is only for old browsers, if you have problem with performance using multiple tags better open issue with reproducible example (also you should consider extracting css). Sorry, mark as won't fix. Anyway we are open for PRs and can revisit this. |
if I set "singleton&sourcemap" in my webpack options, it seems that sourcemap doesn't work anymore (eg no sourcemaps are generated at all)
It seems here : https://github.com/webpack/style-loader/blob/cff991ea90a416b44f4fa75c9cd6e1eb2d18b977/addStyles.js#L146 that both options cannot be used together.
Is this expected, and are they any workarounds around this ?
Without the singleton property, our pages css doesn't show well at the start, so we would like to use both sourcemap and singleton
The text was updated successfully, but these errors were encountered: