vike 0.4.149-commit-544b031 → 0.4.149-commit-d815556

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.
@@ -40,6 +40,9 @@ function assertResolveAlias(config) {
40
40
  // Allow un-distinguishable aliases set by @preact/preset-vite
41
41
  if (find.startsWith('react'))
42
42
  return;
43
+ // Allow un-distinguishable aliases set by @vitejs/plugin-vue2 https://github.com/vikejs/vike/issues/1329
44
+ if (find === 'vue')
45
+ return;
43
46
  {
44
47
  const msg = `${errPrefix} defines an invalid ${picocolors_1.default.cyan('resolve.alias')}: a path alias cannot be the empty string ${picocolors_1.default.cyan("''")}`;
45
48
  (0, utils_js_1.assertUsage)(find !== '', msg);
@@ -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.149-commit-544b031';
5
+ const PROJECT_VERSION = '0.4.149-commit-d815556';
6
6
  exports.PROJECT_VERSION = PROJECT_VERSION;
7
7
  const projectInfo = {
8
8
  projectName: 'Vike',
@@ -35,6 +35,9 @@ function assertResolveAlias(config) {
35
35
  // Allow un-distinguishable aliases set by @preact/preset-vite
36
36
  if (find.startsWith('react'))
37
37
  return;
38
+ // Allow un-distinguishable aliases set by @vitejs/plugin-vue2 https://github.com/vikejs/vike/issues/1329
39
+ if (find === 'vue')
40
+ return;
38
41
  {
39
42
  const msg = `${errPrefix} defines an invalid ${pc.cyan('resolve.alias')}: a path alias cannot be the empty string ${pc.cyan("''")}`;
40
43
  assertUsage(find !== '', msg);
@@ -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.149-commit-544b031";
4
+ declare const PROJECT_VERSION: "0.4.149-commit-d815556";
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.149-commit-544b031";
10
+ projectVersion: "0.4.149-commit-d815556";
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.149-commit-544b031';
4
+ const PROJECT_VERSION = '0.4.149-commit-d815556';
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.149-commit-544b031",
3
+ "version": "0.4.149-commit-d815556",
4
4
  "scripts": {
5
5
  "dev": "tsc --watch",
6
6
  "build": "rimraf dist/ && pnpm run build:esm && pnpm run build:cjs",