Skip to content

Conversation

@lukeed
Copy link
Member

@lukeed lukeed commented Oct 16, 2017

The move to [email protected] changed the sourceMap behavior.

In [email protected], the maps from preceding loaders (eg, css, sass, less) would still be kept. But as @timarney pointed out, 2.0 changed that behavior. The postcss-loader now states:

If a previous loader like e.g sass-loader is applied and its sourceMap option is set, but the sourceMap option in postcss-loader is omitted, previous source maps will be discarded by postcss-loader entirely.

Closes #403

Copy link
Member

@reznord reznord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@reznord reznord merged commit 96e097b into master Oct 16, 2017
@reznord reznord deleted the fix-postcss branch October 16, 2017 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants