esbuild-css-modules-plugin
Advanced tools
Comparing version 2.7.0 to 2.7.1
@@ -0,1 +1,4 @@ | ||
## V2.7.1 | ||
- support esbuild@^0.17 | ||
## V2.7.0 | ||
@@ -2,0 +5,0 @@ - fix inject logic to avoid styles missing in some micro-frontend framework |
@@ -73,2 +73,4 @@ import type { OnLoadResult, Plugin, PluginBuild } from 'esbuild'; | ||
usePascalCase?: boolean; | ||
/** since esbuild@0.17 has removed the `watch` option, you have to set it here explicitly */ | ||
watch?: boolean; | ||
} | ||
@@ -75,0 +77,0 @@ |
@@ -192,6 +192,3 @@ const path = require('path'); | ||
if (initialOptions.watch) { | ||
log('watching', rpath); | ||
result.watchFiles = [absPath]; | ||
} | ||
result.watchFiles = [absPath]; | ||
@@ -218,3 +215,3 @@ return result; | ||
const useCache = build.initialOptions.watch; | ||
const useCache = build.initialOptions.watch ?? options.watch ?? false; | ||
@@ -221,0 +218,0 @@ useCache && log(`checking cache for`, rpath); |
{ | ||
"name": "esbuild-css-modules-plugin", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).", | ||
@@ -14,3 +14,3 @@ "main": "./index.js", | ||
"engines": { | ||
"node": ">= 14" | ||
"node": ">= 16" | ||
}, | ||
@@ -26,3 +26,3 @@ "author": "indooorsman@gmail.com", | ||
"@types/node": "^17.0.23", | ||
"esbuild": "^0.16.2" | ||
"esbuild": "^0.17.3" | ||
}, | ||
@@ -33,6 +33,6 @@ "peerDependencies": { | ||
"dependencies": { | ||
"lightningcss": "^1.17.1", | ||
"lightningcss": "^1.18.0", | ||
"fs-extra": "^10.1.0", | ||
"lodash": "^4.17.21", | ||
"postcss": "^8.4.19", | ||
"postcss": "^8.4.21", | ||
"postcss-modules": "^6.0.0", | ||
@@ -39,0 +39,0 @@ "tmp": "^0.2.1" |
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
38959
1018
Updatedlightningcss@^1.18.0
Updatedpostcss@^8.4.21