Improve the debugging experience and add server-side rendering support to styled-components


1.5.23 years ago3 years agoMinified + gzip package size for @msokk/babel-plugin-styled-components in KB



This plugin adds support for server-side rendering, for minification of styles and gives you a nicer debugging experience when using styled-components.

Quick start

Install the plugin first:

npm install --save-dev babel-plugin-styled-components

Then add it to your babel configuration:

  "plugins": ["babel-plugin-styled-components"]


The documentation for this plugin lives on the styled-components website!


Licensed under the MIT License, Copyright © 2016 Vladimir Danchenkov and Maximilian Stoiber.

See LICENSE.md for more information.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.