@vanilla-extract/vite-plugin 4.0.15 → 4.0.16
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.
|
@@ -169,7 +169,7 @@ function vanillaExtractPlugin({
|
|
|
169
169
|
// We have to invalidate the virtual module & deps, not the real one we just transformed
|
|
170
170
|
// The deps have to be invalidated in case one of them changing was the trigger causing
|
|
171
171
|
// the current transformation
|
|
172
|
-
if (
|
|
172
|
+
if (integration.cssFileFilter.test(file)) {
|
|
173
173
|
invalidateModule(fileIdToVirtualId(file));
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -169,7 +169,7 @@ function vanillaExtractPlugin({
|
|
|
169
169
|
// We have to invalidate the virtual module & deps, not the real one we just transformed
|
|
170
170
|
// The deps have to be invalidated in case one of them changing was the trigger causing
|
|
171
171
|
// the current transformation
|
|
172
|
-
if (
|
|
172
|
+
if (integration.cssFileFilter.test(file)) {
|
|
173
173
|
invalidateModule(fileIdToVirtualId(file));
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -161,7 +161,7 @@ function vanillaExtractPlugin({
|
|
|
161
161
|
// We have to invalidate the virtual module & deps, not the real one we just transformed
|
|
162
162
|
// The deps have to be invalidated in case one of them changing was the trigger causing
|
|
163
163
|
// the current transformation
|
|
164
|
-
if (
|
|
164
|
+
if (cssFileFilter.test(file)) {
|
|
165
165
|
invalidateModule(fileIdToVirtualId(file));
|
|
166
166
|
}
|
|
167
167
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanilla-extract/vite-plugin",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.16",
|
|
4
4
|
"description": "Zero-runtime Stylesheets-in-TypeScript",
|
|
5
5
|
"main": "dist/vanilla-extract-vite-plugin.cjs.js",
|
|
6
6
|
"module": "dist/vanilla-extract-vite-plugin.esm.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "SEEK",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vanilla-extract/integration": "^7.1.
|
|
19
|
+
"@vanilla-extract/integration": "^7.1.10"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"vite": "^5.0.11"
|