0.1.1 • Published 6 years ago
react-app-rewire-postcss-cssnext v0.1.1
react-app-rewire-postcss-cssnext
Add the cssnext webpack plugin to your create-react-app via react-app-rewired
Install
npm:
$ npm install --saveDev react-app-rewire-postcss-cssnext
yarn:
$ yarn add --dev react-app-rewire-postcss-cssnext
Add it to your project
- Rewire your app than modify
config-overrides.js
const rewireCSSNext = require('react-app-rewire-postcss-cssnext');
/* config-overrides.js */
module.exports = function override(config, env) {
config = rewireCSSNext(config, env);
return config;
}