weapp-vite 6.6.8 → 6.6.10

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-BP6KVMYT.mjs";
3
+ } from "../chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
6
  init_esm_shims();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-EE6XJ7ZZ.mjs";
4
- import "./chunk-DA5NTDY2.mjs";
5
- import "./chunk-XJH7ESO6.mjs";
6
- import "./chunk-DLO6COLF.mjs";
3
+ } from "./chunk-BPT3TGLS.mjs";
4
+ import "./chunk-NEEPOTXW.mjs";
5
+ import "./chunk-I2F5NJSR.mjs";
6
+ import "./chunk-2UEZGGMB.mjs";
7
7
  import {
8
8
  init_esm_shims
9
- } from "./chunk-BP6KVMYT.mjs";
9
+ } from "./chunk-EDPG2YFA.mjs";
10
10
 
11
11
  // src/auto-routes.ts
12
12
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-BP6KVMYT.mjs";
3
+ } from "./chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/json.ts
6
6
  init_esm_shims();
@@ -14,12 +14,12 @@ import {
14
14
  templateExtensions,
15
15
  touch,
16
16
  vueExtensions
17
- } from "./chunk-DA5NTDY2.mjs";
17
+ } from "./chunk-NEEPOTXW.mjs";
18
18
  import {
19
19
  __commonJS,
20
20
  __toESM,
21
21
  init_esm_shims
22
- } from "./chunk-BP6KVMYT.mjs";
22
+ } from "./chunk-EDPG2YFA.mjs";
23
23
 
24
24
  // ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js
25
25
  var require_debug = __commonJS({
@@ -35408,12 +35408,14 @@ function createPackageBuilder(ctx, oxcVitePlugin) {
35408
35408
  return !isOutdated && await fs37.pathExists(outDir);
35409
35409
  }
35410
35410
  async function bundleBuild({ entry, name, options, outDir }) {
35411
+ const defineImportMetaEnv = ctx.configService?.defineImportMetaEnv ?? {};
35411
35412
  const mergedOptions = defu9(options, {
35412
35413
  configFile: false,
35413
35414
  publicDir: false,
35414
35415
  logLevel: "silent",
35415
35416
  root: ctx.configService?.cwd ?? process11.cwd(),
35416
35417
  define: {
35418
+ ...defineImportMetaEnv,
35417
35419
  "process.env.NODE_ENV": JSON.stringify("production")
35418
35420
  },
35419
35421
  plugins: [],
@@ -37248,7 +37250,7 @@ function createScanService(ctx) {
37248
37250
  vueAppPath = await findVueEntry(appBasename);
37249
37251
  }
37250
37252
  if (!appConfigFile && vueAppPath) {
37251
- const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-QH43FAOQ.mjs");
37253
+ const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-V4PKVN5M.mjs");
37252
37254
  configFromVue = await extractConfigFromVue2(vueAppPath);
37253
37255
  if (configFromVue) {
37254
37256
  appConfigFile = vueAppPath;
@@ -2,10 +2,10 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-EE6XJ7ZZ.mjs";
5
+ } from "./chunk-BPT3TGLS.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-BP6KVMYT.mjs";
8
+ } from "./chunk-EDPG2YFA.mjs";
9
9
 
10
10
  // src/createContext.ts
11
11
  init_esm_shims();
@@ -27,11 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
 
30
- // ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.57.1_@types+node@25.3.0__@swc+core@1.15.11_jiti@2_33bef0f7763aad222c45b2d476f01059/node_modules/tsup/assets/esm_shims.js
30
+ // ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.57.3_@types+node@25.3.0__@swc+core@1.15.11_jiti@2_c50af58041c37aa57970e5275e05be81/node_modules/tsup/assets/esm_shims.js
31
31
  import path from "path";
32
32
  import { fileURLToPath } from "url";
33
33
  var init_esm_shims = __esm({
34
- "../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.57.1_@types+node@25.3.0__@swc+core@1.15.11_jiti@2_33bef0f7763aad222c45b2d476f01059/node_modules/tsup/assets/esm_shims.js"() {
34
+ "../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.57.3_@types+node@25.3.0__@swc+core@1.15.11_jiti@2_c50af58041c37aa57970e5275e05be81/node_modules/tsup/assets/esm_shims.js"() {
35
35
  "use strict";
36
36
  }
37
37
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-BP6KVMYT.mjs";
3
+ } from "./chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/config.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-BP6KVMYT.mjs";
3
+ } from "./chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/plugins/vue/runtime.ts
6
6
  init_esm_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __toESM,
4
4
  init_esm_shims
5
- } from "./chunk-BP6KVMYT.mjs";
5
+ } from "./chunk-EDPG2YFA.mjs";
6
6
 
7
7
  // ../../node_modules/.pnpm/merge@2.1.1/node_modules/merge/lib/src/index.js
8
8
  var require_src = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-BP6KVMYT.mjs";
3
+ } from "./chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/types/external.ts
6
6
  init_esm_shims();
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCompilerContext
3
- } from "./chunk-ZYRAVDNC.mjs";
3
+ } from "./chunk-DAJJJLLD.mjs";
4
4
  import {
5
5
  DEFAULT_MP_PLATFORM,
6
6
  SHARED_CHUNK_VIRTUAL_PREFIX,
@@ -14,13 +14,13 @@ import {
14
14
  normalizeMiniPlatform,
15
15
  resolveMiniPlatform,
16
16
  resolveWeappConfigFile
17
- } from "./chunk-EE6XJ7ZZ.mjs";
17
+ } from "./chunk-BPT3TGLS.mjs";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-DA5NTDY2.mjs";
20
+ } from "./chunk-NEEPOTXW.mjs";
21
21
  import {
22
22
  init_esm_shims
23
- } from "./chunk-BP6KVMYT.mjs";
23
+ } from "./chunk-EDPG2YFA.mjs";
24
24
 
25
25
  // src/cli.ts
26
26
  init_esm_shims();
package/dist/config.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  defineConfig
3
- } from "./chunk-XJH7ESO6.mjs";
3
+ } from "./chunk-I2F5NJSR.mjs";
4
4
  import {
5
5
  defineAppJson,
6
6
  defineComponentJson,
7
7
  definePageJson,
8
8
  defineSitemapJson,
9
9
  defineThemeJson
10
- } from "./chunk-DLO6COLF.mjs";
11
- import "./chunk-BP6KVMYT.mjs";
10
+ } from "./chunk-2UEZGGMB.mjs";
11
+ import "./chunk-EDPG2YFA.mjs";
12
12
  export {
13
13
  defineAppJson,
14
14
  defineComponentJson,
@@ -11,8 +11,8 @@ import {
11
11
  isTemplateRequest,
12
12
  touch,
13
13
  touchSync
14
- } from "./chunk-DA5NTDY2.mjs";
15
- import "./chunk-BP6KVMYT.mjs";
14
+ } from "./chunk-NEEPOTXW.mjs";
15
+ import "./chunk-EDPG2YFA.mjs";
16
16
  export {
17
17
  changeFileExtension,
18
18
  extractConfigFromVue,
package/dist/index.mjs CHANGED
@@ -1,26 +1,26 @@
1
- import "./chunk-GBMX636X.mjs";
1
+ import "./chunk-SKUCMM2P.mjs";
2
2
  import {
3
3
  createCompilerContext
4
- } from "./chunk-ZYRAVDNC.mjs";
4
+ } from "./chunk-DAJJJLLD.mjs";
5
5
  import {
6
6
  defineEmits,
7
7
  defineProps
8
- } from "./chunk-BSEMCBBG.mjs";
9
- import "./chunk-EE6XJ7ZZ.mjs";
10
- import "./chunk-DA5NTDY2.mjs";
8
+ } from "./chunk-KRNLQCVO.mjs";
9
+ import "./chunk-BPT3TGLS.mjs";
10
+ import "./chunk-NEEPOTXW.mjs";
11
11
  import {
12
12
  defineConfig
13
- } from "./chunk-XJH7ESO6.mjs";
13
+ } from "./chunk-I2F5NJSR.mjs";
14
14
  import {
15
15
  defineAppJson,
16
16
  defineComponentJson,
17
17
  definePageJson,
18
18
  defineSitemapJson,
19
19
  defineThemeJson
20
- } from "./chunk-DLO6COLF.mjs";
20
+ } from "./chunk-2UEZGGMB.mjs";
21
21
  import {
22
22
  init_esm_shims
23
- } from "./chunk-BP6KVMYT.mjs";
23
+ } from "./chunk-EDPG2YFA.mjs";
24
24
 
25
25
  // src/index.ts
26
26
  init_esm_shims();
package/dist/json.mjs CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  definePageJson,
5
5
  defineSitemapJson,
6
6
  defineThemeJson
7
- } from "./chunk-DLO6COLF.mjs";
8
- import "./chunk-BP6KVMYT.mjs";
7
+ } from "./chunk-2UEZGGMB.mjs";
8
+ import "./chunk-EDPG2YFA.mjs";
9
9
  export {
10
10
  defineAppJson,
11
11
  defineComponentJson,
package/dist/runtime.mjs CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  createWevuComponent,
3
3
  defineEmits,
4
4
  defineProps
5
- } from "./chunk-BSEMCBBG.mjs";
6
- import "./chunk-BP6KVMYT.mjs";
5
+ } from "./chunk-KRNLQCVO.mjs";
6
+ import "./chunk-EDPG2YFA.mjs";
7
7
  export {
8
8
  createWevuComponent,
9
9
  defineEmits,
package/dist/types.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import "./chunk-GBMX636X.mjs";
1
+ import "./chunk-SKUCMM2P.mjs";
2
2
  import {
3
3
  init_esm_shims
4
- } from "./chunk-BP6KVMYT.mjs";
4
+ } from "./chunk-EDPG2YFA.mjs";
5
5
 
6
6
  // src/types/index.ts
7
7
  init_esm_shims();
package/dist/volar.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-BP6KVMYT.mjs";
3
+ } from "./chunk-EDPG2YFA.mjs";
4
4
 
5
5
  // src/volar.ts
6
6
  init_esm_shims();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "6.6.8",
4
+ "version": "6.6.10",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -89,7 +89,7 @@
89
89
  "@babel/types": "^7.29.0",
90
90
  "@volar/typescript": "^2.4.28",
91
91
  "@vue/compiler-core": "^3.5.28",
92
- "@vue/language-core": "^3.2.4",
92
+ "@vue/language-core": "^3.2.5",
93
93
  "comment-json": "^4.5.1",
94
94
  "debug": "^4.4.3",
95
95
  "fdir": "^6.5.0",
@@ -106,18 +106,18 @@
106
106
  "vite": "8.0.0-beta.15",
107
107
  "vite-tsconfig-paths": "^6.1.1",
108
108
  "vue": "^3.5.28",
109
- "vue-tsc": "^3.2.4",
109
+ "vue-tsc": "^3.2.5",
110
110
  "@weapp-core/init": "6.0.1",
111
111
  "@weapp-core/logger": "3.1.0",
112
112
  "@weapp-core/schematics": "6.0.2",
113
- "@weapp-vite/volar": "2.0.4",
114
113
  "@weapp-core/shared": "3.0.1",
114
+ "@weapp-vite/volar": "2.0.4",
115
115
  "@weapp-vite/web": "1.3.0",
116
- "rolldown-require": "2.0.6",
117
116
  "@wevu/api": "0.1.1",
117
+ "rolldown-require": "2.0.6",
118
118
  "vite-plugin-performance": "2.0.1",
119
119
  "weapp-ide-cli": "5.0.4",
120
- "wevu": "6.6.8"
120
+ "wevu": "6.6.10"
121
121
  },
122
122
  "publishConfig": {
123
123
  "access": "public",