We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Wrong:
new OptimizeCssAssetsPlugin({cssProcessorOptions: {map: true}})
Correct:
new OptimizeCssAssetsPlugin({cssProcessorOptions: {map: {inline: false, annotations: true}}})
Since with optimize-css-assets-webpack-plugin map is supposed to be an object. More info here.
optimize-css-assets-webpack-plugin
map
At least this much is worth mentioning in the README,
README
The text was updated successfully, but these errors were encountered:
Thanks for sharing this! I was struggling on the same problem since a couple of hours. Nevertheless, there is a typo in the annotations parameter provided to PostCSS (see https://github.com/postcss/postcss/blob/master/docs/source-maps.md) The correct solution is:
annotations
new OptimizeCssAssetsPlugin({cssProcessorOptions: {map: {inline: false, annotation: true}}})
Sorry, something went wrong.
Everything now works correctly! Thank you
No branches or pull requests
Wrong:
Correct:
Since with
optimize-css-assets-webpack-plugin
map
is supposed to be an object. More info here.At least this much is worth mentioning in the
README
,The text was updated successfully, but these errors were encountered: