vike 0.4.243-commit-743f6b8 → 0.4.244-commit-a8703f7

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.
@@ -221,9 +221,10 @@ function handleAssetsManifest_assertUsageCssCodeSplit(config) {
221
221
  }
222
222
  function handleAssetsManifest_alignCssTarget(config) {
223
223
  globalObject.configsAll.push(config);
224
- const { cssTarget } = globalObject.configsAll
225
- .filter((c) => !isViteServerSide_viteEnvOptional(c, undefined))
226
- .at(-1).build;
224
+ const clientSideConfigs = globalObject.configsAll.filter((c) => !isViteServerSide_viteEnvOptional(c, undefined));
225
+ if (clientSideConfigs.length === 0)
226
+ return;
227
+ const { cssTarget } = clientSideConfigs.at(-1).build;
227
228
  assert(cssTarget);
228
229
  globalObject.configsAll.forEach((c) => (c.build.cssTarget = cssTarget));
229
230
  }
@@ -89,6 +89,7 @@ function pluginBuildApp() {
89
89
  */
90
90
  async handler(options, bundle) {
91
91
  try {
92
+ handleAssetsManifest_assertUsageCssTarget(config, this.environment);
92
93
  await handleAssetsManifest(config, this.environment, options, bundle);
93
94
  await triggerPrerendering(config, this.environment, bundle);
94
95
  }
@@ -112,7 +113,6 @@ function pluginBuildApp() {
112
113
  order: 'post',
113
114
  handler() {
114
115
  onSetupBuild();
115
- handleAssetsManifest_assertUsageCssTarget(config, this.environment);
116
116
  },
117
117
  },
118
118
  },
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.243-commit-743f6b8";
1
+ export declare const PROJECT_VERSION: "0.4.244-commit-a8703f7";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.243-commit-743f6b8';
2
+ export const PROJECT_VERSION = '0.4.244-commit-a8703f7';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.243-commit-743f6b8",
3
+ "version": "0.4.244-commit-a8703f7",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {