preact-cli-plugin-styled-components
v1.0.0 preact plugin styled-components
preact-cli-plugin-styled-components
Adds the styled-components Babel plugin to Preact CLI.
Installation
$ npm install --save-dev preact-cli-plugin-styled-components
And include in your project by creating a preact.config.js
:
const styled = require('preact-cli-plugin-styled-components');
export default function (config, env, helpers) {
styled(config, env, helpers);
}
License
MIT © Robin van der Vleuten
npm i preact-cli-plugin-styled-components
Metadata
- MIT
- Whatever
- Robin van der Vleuten
- released 11/10/2017