Skip to content

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Oct 1, 2018

Fixes #5140. Fixes #5188.

While unfortunate due to concerns in #5188 (comment), I don't feel comfortable with webpack's default behavior until webpack adds a warning or an error for this (webpack/webpack#6571 (comment)). When webpack does, we can reconsider and go with webpack's default behavior.

I checked that this change fixes the reproducing case in https://github.com/cdaringe/will-u-load-my-styl.

@gaearon gaearon added this to the 2.0.0 milestone Oct 1, 2018
@gaearon gaearon merged commit 4a96247 into master Oct 1, 2018
@Timer Timer deleted the side-css branch October 1, 2018 14:08
zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Oct 2, 2018
@lock lock bot locked and limited conversation to collaborators Jan 19, 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.

Document CSS being removed or force CSS to be effectful react-scripts@next drops css import in production build
3 participants