esbuild-plugin-postcss-literal
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "esbuild-plugin-postcss-literal", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "PostCSS tagged template literals plugin for esbuild.", | ||
@@ -15,2 +15,3 @@ "repository": "nativew/esbuild-plugin-postcss-literal", | ||
"peerDependencies": { | ||
"esbuild": "^0.8.0", | ||
"postcss": "^8.0.0", | ||
@@ -20,2 +21,3 @@ "postcss-load-config": "^3.0.0" | ||
"devDependencies": { | ||
"esbuild": "^0.8.34", | ||
"postcss": "^8.2.4", | ||
@@ -22,0 +24,0 @@ "postcss-load-config": "^3.0.0", |
@@ -17,2 +17,14 @@ # esbuild-plugin-postcss-literal | ||
`button.css.js` | ||
```js | ||
const styles = css` | ||
.button { | ||
&.-primary { | ||
background: var(--primary); | ||
} | ||
} | ||
`; | ||
``` | ||
`esbuild.config.json` | ||
@@ -66,3 +78,3 @@ | ||
"plugins": { | ||
"postcss-plugin": {} | ||
"postcss-nesting": {} | ||
} | ||
@@ -76,3 +88,3 @@ } | ||
[esbuild-plugin-merge](https://github.com/nativew/esbuild-plugin-merge) → Pipe esbuild plugins output. | ||
[esbuild-plugin-pipe](https://github.com/nativew/esbuild-plugin-pipe) → Pipe esbuild plugins output. | ||
@@ -79,0 +91,0 @@ [esbuild-plugin-babel](https://github.com/nativew/esbuild-plugin-babel) → Babel plugin for esbuild. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4881
91
3
4