Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

babel-plugin-styled-components

Package Overview
Dependencies
5
Maintainers
3
Versions
90
Issues
File Explorer

Advanced tools

babel-plugin-styled-components

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

    2.0.7latest

Version published
Maintainers
3
Weekly downloads
4,313,025
decreased by-3.42%

Weekly downloads

Changelog

Source

v2.0.7

What's Changed

  • fix minifier bug #366 by @agriffis in https://github.com/styled-components/babel-plugin-styled-components/pull/376

New Contributors

  • @agriffis made their first contribution in https://github.com/styled-components/babel-plugin-styled-components/pull/376

Full Changelog: https://github.com/styled-components/babel-plugin-styled-components/compare/v2.0.6...v2.0.7

Readme

Source

babel-plugin-styled-components

This plugin is a highly recommended supplement to the base styled-components library, offering some useful features:

  • consistently hashed component classNames between environments (a must for server-side rendering)
  • better debugging through automatic annotation of your styled components based on their context in the file system, etc.
  • various types of minification for styles and the tagged template literals styled-components uses

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"] }

Changelog

See Github Releases

Documentation

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

License

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

See LICENSE.md for more information.

Keywords

FAQs

What is babel-plugin-styled-components?

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

Is babel-plugin-styled-components popular?

The npm package babel-plugin-styled-components receives a total of 3,476,249 weekly downloads. As such, babel-plugin-styled-components popularity was classified as popular.

Is babel-plugin-styled-components well maintained?

We found that babel-plugin-styled-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 3 open source maintainers collaborating on the project.

Last updated on 07 Apr 2022
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc