cra-rewire-styled-components

1.0.2 • Public • Published

cra-rewire-styled-components

Add the babel-plugin-styled-components to your create-react-app

Installation

npm install cra-rewire-styled-components -D

or

yarn add cra-rewire-styled-components -D

Usage

const craRewireStyledComponents = require('cra-rewire-styled-components');

/* config-overrides.js */
module.exports = function overrides(config, env) {
  config = craRewireStyledComponents(conifg, env, {
    displayName: false,
  });
  return config;
};

Package Sidebar

Install

npm i cra-rewire-styled-components

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

2.75 kB

Total Files

4

Last publish

Collaborators

  • hong24