Skip to content

Conversation

@crux153
Copy link
Contributor

@crux153 crux153 commented Oct 2, 2018

This fixes GENERATE_SOURCEMAP env option not being respected for css sourcemap, by checking its presence before passing sourcemap options to OptimizeCSSAssetsPlugin.

It can be simply tested by running react-scripts build with and without GENERATE_SOURCEMAP=false, and see if any sourcemaps are being created under build/static/css

@Timer Timer added this to the 2.0.4 milestone Oct 2, 2018
@Timer
Copy link
Contributor

Timer commented Oct 2, 2018

Thanks! For now you can just remove the files safely.

@Timer Timer merged commit d624f25 into facebook:master Oct 2, 2018
zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Oct 29, 2018
@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants