Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

robinvdvleuten/preact-cli-plugin-styled-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

preact-cli-plugin-styled-components

Adds the styled-components Babel plugin to Preact CLI.

NPM version Build Status

Installation

$ npm i -D preact-cli-plugin-styled-components

And include in your project by creating a preact.config.js:

import styledPlugin from 'preact-cli-plugin-styled-components';

export default function (config, env, helpers) {
  styledPlugin(config, env)
}

License

MIT ยฉ Robin van der Vleuten