@vanilla-extract/vite-plugin 4.0.6 → 4.0.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.
@@ -105,7 +105,10 @@ function vanillaExtractPlugin({
105
105
  // If it _is_ loaded with a config file, it will create an infinite loop because it
106
106
  // also has a child compiler which uses the same mechanism to load the config file.
107
107
  // https://github.com/remix-run/remix/pull/7990#issuecomment-1809356626
108
- plugin.name !== 'remix')
108
+ // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
109
+ // the main Remix plugin, and may not function correctly without it. To address this, we
110
+ // filter out all Remix-related plugins.
111
+ !plugin.name.startsWith('remix'))
109
112
  }
110
113
  });
111
114
  }
@@ -105,7 +105,10 @@ function vanillaExtractPlugin({
105
105
  // If it _is_ loaded with a config file, it will create an infinite loop because it
106
106
  // also has a child compiler which uses the same mechanism to load the config file.
107
107
  // https://github.com/remix-run/remix/pull/7990#issuecomment-1809356626
108
- plugin.name !== 'remix')
108
+ // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
109
+ // the main Remix plugin, and may not function correctly without it. To address this, we
110
+ // filter out all Remix-related plugins.
111
+ !plugin.name.startsWith('remix'))
109
112
  }
110
113
  });
111
114
  }
@@ -97,7 +97,10 @@ function vanillaExtractPlugin({
97
97
  // If it _is_ loaded with a config file, it will create an infinite loop because it
98
98
  // also has a child compiler which uses the same mechanism to load the config file.
99
99
  // https://github.com/remix-run/remix/pull/7990#issuecomment-1809356626
100
- plugin.name !== 'remix')
100
+ // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
101
+ // the main Remix plugin, and may not function correctly without it. To address this, we
102
+ // filter out all Remix-related plugins.
103
+ !plugin.name.startsWith('remix'))
101
104
  }
102
105
  });
103
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanilla-extract/vite-plugin",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
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": "^7.1.0"
18
+ "@vanilla-extract/integration": "^7.1.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "vite": "^5.0.11"