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.
- package/dist/auto-import-components/resolvers.mjs +1 -1
- package/dist/auto-routes.mjs +5 -5
- package/dist/{chunk-DLO6COLF.mjs → chunk-2UEZGGMB.mjs} +1 -1
- package/dist/{chunk-EE6XJ7ZZ.mjs → chunk-BPT3TGLS.mjs} +5 -3
- package/dist/{chunk-ZYRAVDNC.mjs → chunk-DAJJJLLD.mjs} +2 -2
- package/dist/{chunk-BP6KVMYT.mjs → chunk-EDPG2YFA.mjs} +2 -2
- package/dist/{chunk-XJH7ESO6.mjs → chunk-I2F5NJSR.mjs} +1 -1
- package/dist/{chunk-BSEMCBBG.mjs → chunk-KRNLQCVO.mjs} +1 -1
- package/dist/{chunk-DA5NTDY2.mjs → chunk-NEEPOTXW.mjs} +1 -1
- package/dist/{chunk-GBMX636X.mjs → chunk-SKUCMM2P.mjs} +1 -1
- package/dist/cli.mjs +4 -4
- package/dist/config.mjs +3 -3
- package/dist/{file-QH43FAOQ.mjs → file-V4PKVN5M.mjs} +2 -2
- package/dist/index.mjs +8 -8
- package/dist/json.mjs +2 -2
- package/dist/runtime.mjs +2 -2
- package/dist/types.mjs +2 -2
- package/dist/volar.mjs +1 -1
- package/package.json +6 -6
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
9
|
+
} from "./chunk-EDPG2YFA.mjs";
|
|
10
10
|
|
|
11
11
|
// src/auto-routes.ts
|
|
12
12
|
init_esm_shims();
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
templateExtensions,
|
|
15
15
|
touch,
|
|
16
16
|
vueExtensions
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NEEPOTXW.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__toESM,
|
|
21
21
|
init_esm_shims
|
|
22
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
5
|
+
} from "./chunk-BPT3TGLS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
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.
|
|
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.
|
|
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
|
});
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
17
|
+
} from "./chunk-BPT3TGLS.mjs";
|
|
18
18
|
import {
|
|
19
19
|
VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NEEPOTXW.mjs";
|
|
21
21
|
import {
|
|
22
22
|
init_esm_shims
|
|
23
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-2UEZGGMB.mjs";
|
|
11
|
+
import "./chunk-EDPG2YFA.mjs";
|
|
12
12
|
export {
|
|
13
13
|
defineAppJson,
|
|
14
14
|
defineComponentJson,
|
package/dist/index.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-SKUCMM2P.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createCompilerContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DAJJJLLD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
defineEmits,
|
|
7
7
|
defineProps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KRNLQCVO.mjs";
|
|
9
|
+
import "./chunk-BPT3TGLS.mjs";
|
|
10
|
+
import "./chunk-NEEPOTXW.mjs";
|
|
11
11
|
import {
|
|
12
12
|
defineConfig
|
|
13
|
-
} from "./chunk-
|
|
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-
|
|
20
|
+
} from "./chunk-2UEZGGMB.mjs";
|
|
21
21
|
import {
|
|
22
22
|
init_esm_shims
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EDPG2YFA.mjs";
|
|
24
24
|
|
|
25
25
|
// src/index.ts
|
|
26
26
|
init_esm_shims();
|
package/dist/json.mjs
CHANGED
package/dist/runtime.mjs
CHANGED
package/dist/types.mjs
CHANGED
package/dist/volar.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.6.
|
|
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.
|
|
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.
|
|
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.
|
|
120
|
+
"wevu": "6.6.10"
|
|
121
121
|
},
|
|
122
122
|
"publishConfig": {
|
|
123
123
|
"access": "public",
|