Created by: nhunzaker
Looks like PostCSS isn't running on stylesheets included via @import
within another stylesheet. The postcss-loader docs use ?importLoaders=1
in there configuration. Adding it fixed the issue.
Steps to reproduce:
- Create a new app with
create-react-app
- Import
App.css
fromsrc/index.css
- Remove
import './App.css'
fromsrc/App.js
The -webkit-
prefix for the animation
style rule is gone! I've pushed up an example here: