weapp-vite 6.3.2 → 6.3.3
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 +6 -6
- package/dist/{chunk-W6M7JCS2.mjs → chunk-2IYVKVKJ.mjs} +1 -1
- package/dist/{chunk-4V2ZCBUT.mjs → chunk-2OYPZUYQ.mjs} +1 -1
- package/dist/{chunk-VCHKTCFD.mjs → chunk-7B6LS5J6.mjs} +2 -2
- package/dist/{chunk-UWFHV5PO.mjs → chunk-AECE67AJ.mjs} +2 -2
- package/dist/{chunk-QQLJQETD.mjs → chunk-DG7SVSL5.mjs} +2 -2
- package/dist/{chunk-B34ZFW57.mjs → chunk-H3QEQM4D.mjs} +1 -1
- package/dist/{chunk-RARCLK3Z.mjs → chunk-H5CZANP5.mjs} +1 -1
- package/dist/{chunk-VUWEDLBP.mjs → chunk-MVHCUGOB.mjs} +2 -2
- package/dist/{chunk-UBYOGMST.mjs → chunk-QJLQRUJR.mjs} +4 -4
- package/dist/cli.mjs +5 -5
- package/dist/config.mjs +3 -3
- package/dist/{file-FTZY3E4P.mjs → file-QHQDDWXL.mjs} +2 -2
- package/dist/index.mjs +9 -9
- package/dist/json.mjs +2 -2
- package/dist/{jsonMacros-2T2FU4JY.mjs → jsonMacros-LDUD7FP4.mjs} +3 -3
- package/dist/runtime.mjs +2 -2
- package/dist/types.mjs +2 -2
- package/dist/volar.mjs +1 -1
- package/package.json +5 -5
package/dist/auto-routes.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QJLQRUJR.mjs";
|
|
4
|
+
import "./chunk-DG7SVSL5.mjs";
|
|
5
|
+
import "./chunk-AECE67AJ.mjs";
|
|
6
|
+
import "./chunk-H5CZANP5.mjs";
|
|
7
|
+
import "./chunk-2IYVKVKJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MVHCUGOB.mjs";
|
|
11
11
|
|
|
12
12
|
// src/auto-routes.ts
|
|
13
13
|
init_esm_shims();
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getCompilerContext,
|
|
3
3
|
resetCompilerContext,
|
|
4
4
|
setActiveCompilerContextKey
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QJLQRUJR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MVHCUGOB.mjs";
|
|
9
9
|
|
|
10
10
|
// src/createContext.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__toESM,
|
|
4
4
|
init_esm_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MVHCUGOB.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({
|
|
@@ -303,7 +303,7 @@ async function extractConfigFromVue(vueFilePath) {
|
|
|
303
303
|
const setupContent = descriptor.scriptSetup?.content;
|
|
304
304
|
const hasMacroHint = typeof setupContent === "string" && /\bdefine(?:App|Page|Component)Json\s*\(/.test(setupContent);
|
|
305
305
|
if (hasMacroHint) {
|
|
306
|
-
const { extractJsonMacroFromScriptSetup } = await import("./jsonMacros-
|
|
306
|
+
const { extractJsonMacroFromScriptSetup } = await import("./jsonMacros-LDUD7FP4.mjs");
|
|
307
307
|
try {
|
|
308
308
|
const extracted = await extractJsonMacroFromScriptSetup(
|
|
309
309
|
setupContent,
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
jsExtensions,
|
|
4
4
|
require_src,
|
|
5
5
|
vueExtensions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AECE67AJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MVHCUGOB.mjs";
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
|
|
14
14
|
var require_debug = __commonJS({
|
|
@@ -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_@
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.55.2_@types+node@25.0.9__@swc+core@1.15.10_jiti@2_fd3c869d48cf2eb7f28f06384632e5cb/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_@
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.55.2_@types+node@25.0.9__@swc+core@1.15.10_jiti@2_fd3c869d48cf2eb7f28f06384632e5cb/node_modules/tsup/assets/esm_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
traverse,
|
|
37
37
|
usingComponentFromResolvedFile,
|
|
38
38
|
withTempDirLock
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DG7SVSL5.mjs";
|
|
40
40
|
import {
|
|
41
41
|
changeFileExtension,
|
|
42
42
|
configExtensions,
|
|
@@ -55,12 +55,12 @@ import {
|
|
|
55
55
|
templateExtensions,
|
|
56
56
|
touch,
|
|
57
57
|
vueExtensions
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-AECE67AJ.mjs";
|
|
59
59
|
import {
|
|
60
60
|
__commonJS,
|
|
61
61
|
__toESM,
|
|
62
62
|
init_esm_shims
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-MVHCUGOB.mjs";
|
|
64
64
|
|
|
65
65
|
// ../../node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.js
|
|
66
66
|
var require_eventemitter3 = __commonJS({
|
|
@@ -37958,7 +37958,7 @@ function createScanService(ctx) {
|
|
|
37958
37958
|
let configFromVue;
|
|
37959
37959
|
let vueAppPath;
|
|
37960
37960
|
if (!appConfigFile) {
|
|
37961
|
-
const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-
|
|
37961
|
+
const { extractConfigFromVue: extractConfigFromVue2 } = await import("./file-QHQDDWXL.mjs");
|
|
37962
37962
|
vueAppPath = await findVueEntry(appBasename);
|
|
37963
37963
|
if (vueAppPath) {
|
|
37964
37964
|
configFromVue = await extractConfigFromVue2(vueAppPath);
|
package/dist/cli.mjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7B6LS5J6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_MP_PLATFORM,
|
|
6
6
|
SHARED_CHUNK_VIRTUAL_PREFIX,
|
|
7
7
|
createSharedBuildConfig,
|
|
8
8
|
normalizeMiniPlatform,
|
|
9
9
|
resolveMiniPlatform
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QJLQRUJR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
checkRuntime,
|
|
13
13
|
createCjsConfigLoadError,
|
|
14
14
|
isPathInside,
|
|
15
15
|
logger_default,
|
|
16
16
|
resolveWeappConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DG7SVSL5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AECE67AJ.mjs";
|
|
21
21
|
import {
|
|
22
22
|
init_esm_shims
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MVHCUGOB.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-H5CZANP5.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-2IYVKVKJ.mjs";
|
|
11
|
+
import "./chunk-MVHCUGOB.mjs";
|
|
12
12
|
export {
|
|
13
13
|
defineAppJson,
|
|
14
14
|
defineComponentJson,
|
package/dist/index.mjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-2OYPZUYQ.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createCompilerContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7B6LS5J6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
defineEmits,
|
|
7
7
|
defineProps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-H3QEQM4D.mjs";
|
|
9
|
+
import "./chunk-QJLQRUJR.mjs";
|
|
10
|
+
import "./chunk-DG7SVSL5.mjs";
|
|
11
|
+
import "./chunk-AECE67AJ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
defineConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H5CZANP5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
defineAppJson,
|
|
17
17
|
defineComponentJson,
|
|
18
18
|
definePageJson,
|
|
19
19
|
defineSitemapJson,
|
|
20
20
|
defineThemeJson
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2IYVKVKJ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
init_esm_shims
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MVHCUGOB.mjs";
|
|
25
25
|
|
|
26
26
|
// src/index.ts
|
|
27
27
|
init_esm_shims();
|
package/dist/json.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractJsonMacroFromScriptSetup,
|
|
3
3
|
stripJsonMacroCallsFromCode
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DG7SVSL5.mjs";
|
|
5
|
+
import "./chunk-AECE67AJ.mjs";
|
|
6
|
+
import "./chunk-MVHCUGOB.mjs";
|
|
7
7
|
export {
|
|
8
8
|
extractJsonMacroFromScriptSetup,
|
|
9
9
|
stripJsonMacroCallsFromCode
|
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.3.
|
|
4
|
+
"version": "6.3.3",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"vue": "^3.5.27",
|
|
105
105
|
"@weapp-core/init": "6.0.0",
|
|
106
106
|
"@weapp-core/logger": "3.0.1",
|
|
107
|
-
"@weapp-core/schematics": "6.0.1",
|
|
108
107
|
"@weapp-core/shared": "3.0.0",
|
|
109
|
-
"@weapp-
|
|
108
|
+
"@weapp-core/schematics": "6.0.1",
|
|
110
109
|
"@weapp-vite/volar": "2.0.3",
|
|
110
|
+
"@weapp-vite/web": "1.2.0",
|
|
111
111
|
"rolldown-require": "2.0.0",
|
|
112
112
|
"vite-plugin-performance": "2.0.0",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
113
|
+
"wevu": "1.2.1",
|
|
114
|
+
"weapp-ide-cli": "5.0.0"
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public",
|