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.
@@ -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 leads to CSS duplication, see ${picocolors_1.default.underline('https://github.com/vikejs/vike/issues/1815#issuecomment-2507002979')} for more information.`
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'
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROJECT_VERSION = void 0;
4
4
  // Automatically updated by @brillout/release-me
5
- exports.PROJECT_VERSION = '0.4.221-commit-8577456';
5
+ exports.PROJECT_VERSION = '0.4.221-commit-ab9e52a';
@@ -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 leads to CSS duplication, see ${pc.underline('https://github.com/vikejs/vike/issues/1815#issuecomment-2507002979')} for more information.`
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-8577456";
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-8577456';
2
+ export const PROJECT_VERSION = '0.4.221-commit-ab9e52a';
@@ -1,4 +1,4 @@
1
1
  export declare const projectInfo: {
2
2
  projectName: "Vike";
3
- projectVersion: "0.4.221-commit-8577456";
3
+ projectVersion: "0.4.221-commit-ab9e52a";
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.221-commit-8577456",
3
+ "version": "0.4.221-commit-ab9e52a",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {