vike 0.4.161-commit-0e9c635 → 0.4.161-commit-32e5021

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.
@@ -138,10 +138,10 @@ function getGlobs(globRoots, isBuild, fileType, query) {
138
138
  const globExcludePath = globRoot.excludeDir ? `'!${getGlobPath(globRoot.excludeDir, fileType)}'` : null;
139
139
  const globOptions = { eager: isEager };
140
140
  if ((0, utils_js_1.isVersionOrAbove)(vite_1.version, '5.1.0')) {
141
- globOptions.as = query;
141
+ globOptions.query = `?${query}`;
142
142
  }
143
143
  else {
144
- globOptions.query = `?${query}`;
144
+ globOptions.as = query;
145
145
  }
146
146
  const globPaths = globExcludePath ? `[${globIncludePath}, ${globExcludePath}]` : `[${globIncludePath}]`;
147
147
  const globLine = `const ${varNameLocal} = import.meta.glob(${globPaths}, ${JSON.stringify(globOptions)});`;
@@ -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.161-commit-0e9c635';
5
+ const PROJECT_VERSION = '0.4.161-commit-32e5021';
6
6
  exports.PROJECT_VERSION = PROJECT_VERSION;
7
7
  const projectInfo = {
8
8
  projectName: 'Vike',
@@ -132,10 +132,10 @@ function getGlobs(globRoots, isBuild, fileType, query) {
132
132
  const globExcludePath = globRoot.excludeDir ? `'!${getGlobPath(globRoot.excludeDir, fileType)}'` : null;
133
133
  const globOptions = { eager: isEager };
134
134
  if (isVersionOrAbove(viteVersion, '5.1.0')) {
135
- globOptions.as = query;
135
+ globOptions.query = `?${query}`;
136
136
  }
137
137
  else {
138
- globOptions.query = `?${query}`;
138
+ globOptions.as = query;
139
139
  }
140
140
  const globPaths = globExcludePath ? `[${globIncludePath}, ${globExcludePath}]` : `[${globIncludePath}]`;
141
141
  const globLine = `const ${varNameLocal} = import.meta.glob(${globPaths}, ${JSON.stringify(globOptions)});`;
@@ -1,7 +1,7 @@
1
1
  export { projectInfo };
2
2
  export { PROJECT_VERSION };
3
- declare const PROJECT_VERSION: "0.4.161-commit-0e9c635";
3
+ declare const PROJECT_VERSION: "0.4.161-commit-32e5021";
4
4
  declare const projectInfo: {
5
5
  projectName: "Vike";
6
- projectVersion: "0.4.161-commit-0e9c635";
6
+ projectVersion: "0.4.161-commit-32e5021";
7
7
  };
@@ -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.161-commit-0e9c635';
4
+ const PROJECT_VERSION = '0.4.161-commit-32e5021';
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.161-commit-0e9c635",
3
+ "version": "0.4.161-commit-32e5021",
4
4
  "scripts": {
5
5
  "dev": "tsc --watch",
6
6
  "build": "rimraf dist/ && pnpm run build:esm && pnpm run build:cjs",