@modular-css/vite 30.2.6 → 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.
- package/package.json +1 -1
- package/vite.js +1 -1
package/package.json
CHANGED
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
|
};
|