Skip to content

Add babel-plugin-polished to a create-react-app app via react-app-rewired

License

Notifications You must be signed in to change notification settings

rawrmonstar/react-app-rewire-polished

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-app-rewire-polished

Add babel-plugin-polished to a create-react-app app via react-app-rewired.

Installation

yarn add --dev react-app-rewire-polished

or

npm install --save-dev  react-app-rewire-polished

Usage

// config-overrides.js
const rewirePolished = require('react-app-rewire-polished');

module.exports = function override (config, env) {
  config = rewirePolished(config, env);
  // other rewires...
  return config;
}

or

// config-overrides.js
const { compose } = require('react-app-required')
const rewirePolished = require('react-app-rewire-polished');

module.exports = compose(
  rewirePolished,
  // other rewires...
);

About

Add babel-plugin-polished to a create-react-app app via react-app-rewired

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published