vike 0.4.221-commit-8577456 → 0.4.221-commit-ab9e52a
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.
- package/dist/cjs/node/api/prepareViteApiCall.js +1 -1
- package/dist/cjs/node/plugin/plugins/buildConfig/fixServerAssets.js +1 -1
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/node/api/prepareViteApiCall.js +1 -1
- package/dist/esm/node/plugin/plugins/buildConfig/fixServerAssets.js +1 -1
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/utils/projectInfo.d.ts +1 -1
- package/package.json +1 -1
|
@@ -76,7 +76,7 @@ function addViteSettingsSetByVikeConfig(viteConfigEnhanced, vikeConfig) {
|
|
|
76
76
|
viteConfigs.values.forEach((v) => {
|
|
77
77
|
(0, utils_js_1.assertUsage)((0, utils_js_1.isObject)(v.value), `${v.definedAt} should be an object`);
|
|
78
78
|
viteConfigEnhanced = (0, vite_1.mergeConfig)(viteConfigEnhanced ?? {}, v.value);
|
|
79
|
-
(0, utils_js_1.assertUsage)(findVikeVitePlugin(v.value), "Using the +vite setting to add Vike's Vite plugin is forbidden");
|
|
79
|
+
(0, utils_js_1.assertUsage)(!findVikeVitePlugin(v.value), "Using the +vite setting to add Vike's Vite plugin is forbidden");
|
|
80
80
|
});
|
|
81
81
|
return viteConfigEnhanced;
|
|
82
82
|
}
|
|
@@ -218,7 +218,7 @@ async function fixServerAssets_assertCssTarget(config) {
|
|
|
218
218
|
'The CSS browser target should be the same for both client and server, but we got:',
|
|
219
219
|
`Client: ${picocolors_1.default.cyan(JSON.stringify(targetCssResolvedClient))}`,
|
|
220
220
|
`Server: ${picocolors_1.default.cyan(JSON.stringify(targetCssResolvedServer))}`,
|
|
221
|
-
`Different targets
|
|
221
|
+
`Different targets lead to CSS duplication, see ${picocolors_1.default.underline('https://github.com/vikejs/vike/issues/1815#issuecomment-2507002979')} for more information.`
|
|
222
222
|
].join('\n'), {
|
|
223
223
|
showStackTrace: true,
|
|
224
224
|
onlyOnce: 'different-css-target'
|
|
@@ -38,7 +38,7 @@ function addViteSettingsSetByVikeConfig(viteConfigEnhanced, vikeConfig) {
|
|
|
38
38
|
viteConfigs.values.forEach((v) => {
|
|
39
39
|
assertUsage(isObject(v.value), `${v.definedAt} should be an object`);
|
|
40
40
|
viteConfigEnhanced = mergeConfig(viteConfigEnhanced ?? {}, v.value);
|
|
41
|
-
assertUsage(findVikeVitePlugin(v.value), "Using the +vite setting to add Vike's Vite plugin is forbidden");
|
|
41
|
+
assertUsage(!findVikeVitePlugin(v.value), "Using the +vite setting to add Vike's Vite plugin is forbidden");
|
|
42
42
|
});
|
|
43
43
|
return viteConfigEnhanced;
|
|
44
44
|
}
|
|
@@ -213,7 +213,7 @@ async function fixServerAssets_assertCssTarget(config) {
|
|
|
213
213
|
'The CSS browser target should be the same for both client and server, but we got:',
|
|
214
214
|
`Client: ${pc.cyan(JSON.stringify(targetCssResolvedClient))}`,
|
|
215
215
|
`Server: ${pc.cyan(JSON.stringify(targetCssResolvedServer))}`,
|
|
216
|
-
`Different targets
|
|
216
|
+
`Different targets lead to CSS duplication, see ${pc.underline('https://github.com/vikejs/vike/issues/1815#issuecomment-2507002979')} for more information.`
|
|
217
217
|
].join('\n'), {
|
|
218
218
|
showStackTrace: true,
|
|
219
219
|
onlyOnce: 'different-css-target'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.221-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.221-commit-ab9e52a";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.221-commit-
|
|
2
|
+
export const PROJECT_VERSION = '0.4.221-commit-ab9e52a';
|