@vanilla-extract/vite-plugin 4.0.16 → 4.0.17

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.
@@ -24,7 +24,9 @@ plugin.name !== 'vanilla-extract' &&
24
24
  // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
25
25
  // the main Remix plugin, and may not function correctly without it. To address this, we
26
26
  // filter out all Remix-related plugins.
27
- !plugin.name.startsWith('remix');
27
+ !plugin.name.startsWith('remix') &&
28
+ // As React-Router plugin works the same as Remix plugin, also ignore it.
29
+ !plugin.name.startsWith('react-router');
28
30
  function vanillaExtractPlugin({
29
31
  identifiers,
30
32
  unstable_mode: mode = 'emitCss'
@@ -24,7 +24,9 @@ plugin.name !== 'vanilla-extract' &&
24
24
  // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
25
25
  // the main Remix plugin, and may not function correctly without it. To address this, we
26
26
  // filter out all Remix-related plugins.
27
- !plugin.name.startsWith('remix');
27
+ !plugin.name.startsWith('remix') &&
28
+ // As React-Router plugin works the same as Remix plugin, also ignore it.
29
+ !plugin.name.startsWith('react-router');
28
30
  function vanillaExtractPlugin({
29
31
  identifiers,
30
32
  unstable_mode: mode = 'emitCss'
@@ -16,7 +16,9 @@ plugin.name !== 'vanilla-extract' &&
16
16
  // Additionally, some internal Remix plugins rely on a `ctx` object to be initialized by
17
17
  // the main Remix plugin, and may not function correctly without it. To address this, we
18
18
  // filter out all Remix-related plugins.
19
- !plugin.name.startsWith('remix');
19
+ !plugin.name.startsWith('remix') &&
20
+ // As React-Router plugin works the same as Remix plugin, also ignore it.
21
+ !plugin.name.startsWith('react-router');
20
22
  function vanillaExtractPlugin({
21
23
  identifiers,
22
24
  unstable_mode: mode = 'emitCss'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanilla-extract/vite-plugin",
3
- "version": "4.0.16",
3
+ "version": "4.0.17",
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",