@modular-css/vite 30.2.5 → 30.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/vite.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modular-css/vite",
3
- "version": "30.2.5",
3
+ "version": "30.2.7",
4
4
  "description": "vite support for modular-css",
5
5
  "main": "./vite.js",
6
6
  "repository": {
@@ -26,8 +26,8 @@
26
26
  "postcss"
27
27
  ],
28
28
  "dependencies": {
29
- "@modular-css/css-to-js": "^29.1.4",
30
- "@modular-css/processor": "^29.2.0",
29
+ "@modular-css/css-to-js": "^29.1.5",
30
+ "@modular-css/processor": "^29.3.0",
31
31
  "@rollup/pluginutils": "^5.0.2"
32
32
  },
33
33
  "peerDependencies": {
package/vite.js CHANGED
@@ -255,7 +255,7 @@ module.exports = (
255
255
 
256
256
  // Disable tree-shaking for CSS modules w/o any classes/values to export
257
257
  // to make sure they're included in the bundle
258
- moduleSideEffects : namedExports.length || "no-treeshake",
258
+ moduleSideEffects : Boolean(namedExports.length) || "no-treeshake",
259
259
  };
260
260
  },
261
261
  };