/react-app-rewire-postcss-cssnext

Add the postccs-cssnext plugin to your create-react-app via react-app-rewired

Primary LanguageJavaScriptMIT LicenseMIT

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

const rewireCSSNext = require('react-app-rewire-postcss-cssnext');

/* config-overrides.js */
module.exports = function override(config, env) {
  config = rewireCSSNext(config, env);
  return config;
}