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

Latest commit

 

History

History
26 lines (17 loc) · 837 Bytes

File metadata and controls

26 lines (17 loc) · 837 Bytes

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