@vanilla-extract/vite-plugin 3.2.0 → 3.2.1

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.
@@ -139,7 +139,7 @@ function vanillaExtractPlugin({
139
139
  return;
140
140
  }
141
141
 
142
- if (!server) {
142
+ if (!server || server.config.isProduction) {
143
143
  return css;
144
144
  }
145
145
 
@@ -139,7 +139,7 @@ function vanillaExtractPlugin({
139
139
  return;
140
140
  }
141
141
 
142
- if (!server) {
142
+ if (!server || server.config.isProduction) {
143
143
  return css;
144
144
  }
145
145
 
@@ -112,7 +112,7 @@ function vanillaExtractPlugin({
112
112
  return;
113
113
  }
114
114
 
115
- if (!server) {
115
+ if (!server || server.config.isProduction) {
116
116
  return css;
117
117
  }
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanilla-extract/vite-plugin",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
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",