Skip to content
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

Only use safe options when packing CSS assets #4706

Merged
merged 6 commits into from
Jul 23, 2018
Merged

Only use safe options when packing CSS assets #4706

merged 6 commits into from
Jul 23, 2018

Conversation

bugzpodder
Copy link

I've noticed z-index changes were overwritten.
It turns out that css-nano was used when optimizing css assets and safe option was not passed in.
https://cssnano.co/optimisations/zindex/

Verified that z-index no longer changes with this option.

@Timer
Copy link
Contributor

Timer commented Jul 23, 2018

Can you merge next into this and see if we can get CI passing?

@Timer Timer merged commit 52449c3 into facebook:next Jul 23, 2018
@Timer
Copy link
Contributor

Timer commented Jul 23, 2018

Meh, I trust you that this works.

@maddiereddy
Copy link

Guys, my app has been failing to build on Travis since 26 hrs ago and looks like your fix might have created problems. I re-ran previously working builds and they fail too. Looks like the react scripts has a problem with SourceMaps maybe?

screen shot 2018-07-24 at 11 09 46 pm

@bugzpodder
Copy link
Author

@maddiereddy how is your travis build pulling in this change?

@bugzpodder
Copy link
Author

@bugzpodder bugzpodder deleted the css branch July 25, 2018 06:26
zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Sep 30, 2018
* support scoped packages for cra --scripts-version option

* enable safe option to cssnano processor

Fixes facebook#4682
@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.

4 participants