-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
CSS source maps missing in build output #1793
Comments
This looks to be fixed in To your question, I don't think this was by design, no, just something that no one looked into fixing. I would happily have them enabled by default in v3 if we can get that fixed. |
@rschristian thanks, good to know. I poked around some and found the issue in PR here: #1794 |
Released as v3.4.6 |
What is the current behaviour?
preact build
produces build with source maps for JS files but no source map for CSSsourceMap
option set totrue
in webpack config for all loaders but alsocss.map
missing in tests (otherwise they would fail) so not sure if bug or per design?ssr-build
thoughWhat is the motivation or use case for changing this behaviour?
We pushed a big redesign to production and some users are reporting page being broken due to CSS not loading. We suspect parsing error so having source map would be helpful to run down the issue.
Describe the solution you'd like
Output CSS source maps in
build
by default or provide options/recipe how to enablePlease paste the results of
npx preact-cli info
here.The text was updated successfully, but these errors were encountered: