Package Exports
- babel-plugin-styled-components
- babel-plugin-styled-components/lib/utils/detectors
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-styled-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-plugin-styled-components
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"]
}
Documentation
The documentation for this plugin lives on the styled-components website!
License
Licensed under the MIT License, Copyright © 2016 Vladimir Danchenkov and Maximilian Stoiber.
See LICENSE.md for more information.