@vanilla-extract/vite-plugin 3.9.0 → 3.9.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.
|
@@ -52,7 +52,6 @@ const resolvePostcssConfig = async config => {
|
|
|
52
52
|
const postCssConfig = await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('postcss-load-config')); })).default({}, searchPath);
|
|
53
53
|
return {
|
|
54
54
|
options: postCssConfig.options,
|
|
55
|
-
// @ts-expect-error - The postcssrc options don't agree with real postcss, but it should be ok
|
|
56
55
|
plugins: postCssConfig.plugins
|
|
57
56
|
};
|
|
58
57
|
} catch (e) {
|
|
@@ -103,7 +102,7 @@ function vanillaExtractPlugin({
|
|
|
103
102
|
if (config.command === 'serve') {
|
|
104
103
|
postCssConfig = await resolvePostcssConfig(config);
|
|
105
104
|
}
|
|
106
|
-
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
105
|
+
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'remix', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
107
106
|
resolvedEmitCssInSsr = true;
|
|
108
107
|
}
|
|
109
108
|
},
|
|
@@ -52,7 +52,6 @@ const resolvePostcssConfig = async config => {
|
|
|
52
52
|
const postCssConfig = await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('postcss-load-config')); })).default({}, searchPath);
|
|
53
53
|
return {
|
|
54
54
|
options: postCssConfig.options,
|
|
55
|
-
// @ts-expect-error - The postcssrc options don't agree with real postcss, but it should be ok
|
|
56
55
|
plugins: postCssConfig.plugins
|
|
57
56
|
};
|
|
58
57
|
} catch (e) {
|
|
@@ -103,7 +102,7 @@ function vanillaExtractPlugin({
|
|
|
103
102
|
if (config.command === 'serve') {
|
|
104
103
|
postCssConfig = await resolvePostcssConfig(config);
|
|
105
104
|
}
|
|
106
|
-
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
105
|
+
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'remix', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
107
106
|
resolvedEmitCssInSsr = true;
|
|
108
107
|
}
|
|
109
108
|
},
|
|
@@ -25,7 +25,6 @@ const resolvePostcssConfig = async config => {
|
|
|
25
25
|
const postCssConfig = await (await import('postcss-load-config')).default({}, searchPath);
|
|
26
26
|
return {
|
|
27
27
|
options: postCssConfig.options,
|
|
28
|
-
// @ts-expect-error - The postcssrc options don't agree with real postcss, but it should be ok
|
|
29
28
|
plugins: postCssConfig.plugins
|
|
30
29
|
};
|
|
31
30
|
} catch (e) {
|
|
@@ -76,7 +75,7 @@ function vanillaExtractPlugin({
|
|
|
76
75
|
if (config.command === 'serve') {
|
|
77
76
|
postCssConfig = await resolvePostcssConfig(config);
|
|
78
77
|
}
|
|
79
|
-
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
78
|
+
if (!hasEmitCssOverride && config.plugins.some(plugin => ['astro:build', 'remix', 'solid-start-server', 'vite-plugin-qwik', 'vite-plugin-svelte'].includes(plugin.name))) {
|
|
80
79
|
resolvedEmitCssInSsr = true;
|
|
81
80
|
}
|
|
82
81
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanilla-extract/vite-plugin",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.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,15 +15,15 @@
|
|
|
15
15
|
"author": "SEEK",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@vanilla-extract/integration": "^6.
|
|
18
|
+
"@vanilla-extract/integration": "^6.2.4",
|
|
19
19
|
"outdent": "^0.8.0",
|
|
20
20
|
"postcss": "^8.3.6",
|
|
21
|
-
"postcss-load-config": "^
|
|
21
|
+
"postcss-load-config": "^4.0.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"vite": "npm:vite@^2.7.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"vite": "^2.2.3 || ^3.0.0 || ^4.0.3"
|
|
27
|
+
"vite": "^2.2.3 || ^3.0.0 || ^4.0.3 || ^5.0.0"
|
|
28
28
|
}
|
|
29
29
|
}
|