@vanilla-extract/vite-plugin 4.0.1 → 4.0.2

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.
@@ -83,6 +83,7 @@ function vanillaExtractPlugin({
83
83
  root: config.root,
84
84
  identifiers: getIdentOption(),
85
85
  cssImportSpecifier: fileIdToVirtualId,
86
+ viteResolve: config.resolve,
86
87
  vitePlugins: (_userConfig$plugins = userConfig.plugins) === null || _userConfig$plugins === void 0 ? void 0 : _userConfig$plugins.flat().filter(plugin => typeof plugin === 'object' && plugin !== null && 'name' in plugin &&
87
88
  // Prevent an infinite loop where the compiler creates a new instance of the plugin,
88
89
  // which creates a new compiler, which creates a new instance of the plugin, etc.
@@ -83,6 +83,7 @@ function vanillaExtractPlugin({
83
83
  root: config.root,
84
84
  identifiers: getIdentOption(),
85
85
  cssImportSpecifier: fileIdToVirtualId,
86
+ viteResolve: config.resolve,
86
87
  vitePlugins: (_userConfig$plugins = userConfig.plugins) === null || _userConfig$plugins === void 0 ? void 0 : _userConfig$plugins.flat().filter(plugin => typeof plugin === 'object' && plugin !== null && 'name' in plugin &&
87
88
  // Prevent an infinite loop where the compiler creates a new instance of the plugin,
88
89
  // which creates a new compiler, which creates a new instance of the plugin, etc.
@@ -75,6 +75,7 @@ function vanillaExtractPlugin({
75
75
  root: config.root,
76
76
  identifiers: getIdentOption(),
77
77
  cssImportSpecifier: fileIdToVirtualId,
78
+ viteResolve: config.resolve,
78
79
  vitePlugins: (_userConfig$plugins = userConfig.plugins) === null || _userConfig$plugins === void 0 ? void 0 : _userConfig$plugins.flat().filter(plugin => typeof plugin === 'object' && plugin !== null && 'name' in plugin &&
79
80
  // Prevent an infinite loop where the compiler creates a new instance of the plugin,
80
81
  // which creates a new compiler, which creates a new instance of the plugin, etc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanilla-extract/vite-plugin",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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",
@@ -15,7 +15,7 @@
15
15
  "author": "SEEK",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@vanilla-extract/integration": "^6.4.0"
18
+ "@vanilla-extract/integration": "^6.5.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "vite": "npm:vite@^5.0.11"