Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

styled-jsx-plugin-postcss

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-jsx-plugin-postcss - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -17,3 +17,3 @@ const loopWhile = require('deasync').loopWhile

processor(cssWithPlaceholders)
processor(cssWithPlaceholders, settings)
.then(resolved)

@@ -20,0 +20,0 @@ .catch(resolved)

{
"name": "styled-jsx-plugin-postcss",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plugin to add PostCSS support to styled-jsx",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,3 +12,3 @@ const postcss = require('postcss')

if (!plugins) {
loaderPromise = loader(options.env || process.env, null, { argv: false })
loaderPromise = loader(options.env || process.env, options.path, { argv: false })
.then(pluginsInfo => {

@@ -15,0 +15,0 @@ plugins = pluginsInfo.plugins || []

@@ -28,2 +28,22 @@ # styled-jsx-plugin-postcss

With config:
```json
{
"plugins": [
["styled-jsx/babel", {
"plugins": [
[
"styled-jsx-plugin-postcss",
{
"path":
"[PATH_PREFIX]/postcss.config.js"
}
]
]
}]
]
}
```
### Example with CRA

@@ -30,0 +50,0 @@

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