New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-import-css

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-import-css - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

.history/package_20180301175117.json

11

package.json
{
"name": "babel-plugin-transform-import-css",
"version": "0.1.1",
"description": "Babel plugin to convert css imports into jss objects",
"version": "0.1.2",
"description": "Injects imported styles (css-modules) into js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-examples": "babel examples/ -d examples-dist/ --plugins ../index.js"
"build-examples": "babel examples/ -d examples-dist/ --plugins ../index.js",
"postversion": "git push && git push --tags && npm publish"
},
"keywords": [
"babel",
"jss",
"css"
"css",
"css-modules"
],

@@ -15,0 +16,0 @@ "repository": {

@@ -58,1 +58,9 @@ Injects imported styles (css-modules) into js.

It is good for portability.
# Alternatives
- [babel-plugin-react-css-modules](https://github.com/gajus/babel-plugin-react-css-modules)
- adds custom syntax
- react specific
- it isn't `export { classes }` friendly
- [babel-plugin-import-css-to-jss](https://github.com/websecurify/babel-plugin-import-css-to-jss)
- breaks css-modules api (`import jssObject from './style.css'`)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc