vike 0.4.156-commit-6b2f55f → 0.4.156-commit-d07fbe8

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.
@@ -18,13 +18,13 @@ function distFileNames() {
18
18
  const rollupOutputs = getRollupOutputs(config);
19
19
  // We need to support multiple outputs: @vite/plugin-legacy adds an ouput, see https://github.com/vikejs/vike/issues/477#issuecomment-1406434802
20
20
  rollupOutputs.forEach((rollupOutput) => {
21
- if (rollupOutput.entryFileNames === undefined) {
21
+ if (!('entryFileNames' in rollupOutput)) {
22
22
  rollupOutput.entryFileNames = (chunkInfo) => getEntryFileName(chunkInfo, config, true);
23
23
  }
24
- if (!rollupOutput.chunkFileNames === undefined) {
24
+ if (!('chunkFileNames' in rollupOutput)) {
25
25
  rollupOutput.chunkFileNames = (chunkInfo) => getChunkFileName(chunkInfo, config);
26
26
  }
27
- if (!rollupOutput.assetFileNames === undefined) {
27
+ if (!('assertUsage' in rollupOutput)) {
28
28
  rollupOutput.assetFileNames = (chunkInfo) => getAssetFileName(chunkInfo, config);
29
29
  }
30
30
  });
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PROJECT_VERSION = exports.projectInfo = void 0;
4
4
  const assertSingleInstance_js_1 = require("./assertSingleInstance.js");
5
- const PROJECT_VERSION = '0.4.156-commit-6b2f55f';
5
+ const PROJECT_VERSION = '0.4.156-commit-d07fbe8';
6
6
  exports.PROJECT_VERSION = PROJECT_VERSION;
7
7
  const projectInfo = {
8
8
  projectName: 'Vike',
@@ -13,13 +13,13 @@ function distFileNames() {
13
13
  const rollupOutputs = getRollupOutputs(config);
14
14
  // We need to support multiple outputs: @vite/plugin-legacy adds an ouput, see https://github.com/vikejs/vike/issues/477#issuecomment-1406434802
15
15
  rollupOutputs.forEach((rollupOutput) => {
16
- if (rollupOutput.entryFileNames === undefined) {
16
+ if (!('entryFileNames' in rollupOutput)) {
17
17
  rollupOutput.entryFileNames = (chunkInfo) => getEntryFileName(chunkInfo, config, true);
18
18
  }
19
- if (!rollupOutput.chunkFileNames === undefined) {
19
+ if (!('chunkFileNames' in rollupOutput)) {
20
20
  rollupOutput.chunkFileNames = (chunkInfo) => getChunkFileName(chunkInfo, config);
21
21
  }
22
- if (!rollupOutput.assetFileNames === undefined) {
22
+ if (!('assertUsage' in rollupOutput)) {
23
23
  rollupOutput.assetFileNames = (chunkInfo) => getAssetFileName(chunkInfo, config);
24
24
  }
25
25
  });
@@ -1,13 +1,13 @@
1
1
  export { projectInfo };
2
2
  export type { ProjectTag };
3
3
  export { PROJECT_VERSION };
4
- declare const PROJECT_VERSION: "0.4.156-commit-6b2f55f";
4
+ declare const PROJECT_VERSION: "0.4.156-commit-d07fbe8";
5
5
  type PackageName = typeof projectInfo.npmPackageName;
6
6
  type ProjectVersion = typeof projectInfo.projectVersion;
7
7
  type ProjectTag = `[${PackageName}]` | `[${PackageName}@${ProjectVersion}]`;
8
8
  declare const projectInfo: {
9
9
  projectName: "Vike";
10
- projectVersion: "0.4.156-commit-6b2f55f";
10
+ projectVersion: "0.4.156-commit-d07fbe8";
11
11
  npmPackageName: "vike";
12
12
  githubRepository: "https://github.com/vikejs/vike";
13
13
  };
@@ -1,7 +1,7 @@
1
1
  export { projectInfo };
2
2
  export { PROJECT_VERSION };
3
3
  import { onProjectInfo } from './assertSingleInstance.js';
4
- const PROJECT_VERSION = '0.4.156-commit-6b2f55f';
4
+ const PROJECT_VERSION = '0.4.156-commit-d07fbe8';
5
5
  const projectInfo = {
6
6
  projectName: 'Vike',
7
7
  projectVersion: PROJECT_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.156-commit-6b2f55f",
3
+ "version": "0.4.156-commit-d07fbe8",
4
4
  "scripts": {
5
5
  "dev": "tsc --watch",
6
6
  "build": "rimraf dist/ && pnpm run build:esm && pnpm run build:cjs",