-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
options: {map: false} delete previous sourcemap comment from css #486
Comments
I will look when finish current refactoring |
@delka Hm. What is a reason to save old source map if you change CSS. Source map is very content based, if you change one line or letter in CSS, you can broke entire source map. |
@ai the reason is what PostCSS broke source map if I add material.min.css from Google MDL (http://www.getmdl.io/started/index.html). Bug looks like nDmitry/grunt-autoprefixer#88 |
Source map is a big file with |
If I set
PostCSS should won't create or update sourcemaps!
But it delete previous sourcemap comment from result css:
/*# sourceMappingURL=main.css.map */
so css-file no longer have sourcemap.My config for PostCSS is default (from https://github.com/nDmitry/grunt-postcss).
Why I set
map: false
? I was try to make workaroud because PostCSS broked my sourcemap if I add Google MDL.cssThe text was updated successfully, but these errors were encountered: