weapp-vite 2.1.1 → 2.1.2
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/{chunk-6ZIOYCGJ.mjs → chunk-NIZ7SGOM.mjs} +6 -4
- package/dist/{chunk-PEN3BLSY.mjs → chunk-QFMRMB73.mjs} +2 -2
- package/dist/{chunk-RSPHXR3C.mjs → chunk-TY34W2IS.mjs} +1 -1
- package/dist/cli.cjs +7 -5
- package/dist/cli.mjs +3 -3
- package/dist/config.mjs +2 -2
- package/dist/index.cjs +7 -5
- package/dist/index.mjs +3 -3
- package/dist/json.mjs +1 -1
- package/package.json +10 -10
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__name,
|
|
4
4
|
__toESM,
|
|
5
5
|
init_esm_shims
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QFMRMB73.mjs";
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/reflect-metadata@0.2.2/node_modules/reflect-metadata/Reflect.js
|
|
9
9
|
var require_Reflect = __commonJS({
|
|
@@ -1218,6 +1218,7 @@ var configExtensions = [
|
|
|
1218
1218
|
"json"
|
|
1219
1219
|
];
|
|
1220
1220
|
var supportedCssLangs = [
|
|
1221
|
+
"css",
|
|
1221
1222
|
"wxss",
|
|
1222
1223
|
"scss",
|
|
1223
1224
|
"less",
|
|
@@ -14643,9 +14644,10 @@ async function loadConfig(opts) {
|
|
|
14643
14644
|
assetsDir: ".",
|
|
14644
14645
|
commonjsOptions: {
|
|
14645
14646
|
transformMixedEsModules: true,
|
|
14646
|
-
//
|
|
14647
|
-
|
|
14648
|
-
|
|
14647
|
+
// eslint-disable-next-line regexp/no-empty-group
|
|
14648
|
+
include: [
|
|
14649
|
+
/(?:)/
|
|
14650
|
+
]
|
|
14649
14651
|
}
|
|
14650
14652
|
},
|
|
14651
14653
|
logLevel: "warn",
|
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/tsup@8.3.
|
|
31
|
+
// ../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
|
|
32
32
|
var init_esm_shims = __esm({
|
|
33
|
-
"../../node_modules/.pnpm/tsup@8.3.
|
|
33
|
+
"../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
34
34
|
"use strict";
|
|
35
35
|
}
|
|
36
36
|
});
|
package/dist/cli.cjs
CHANGED
|
@@ -29,10 +29,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
mod
|
|
30
30
|
));
|
|
31
31
|
|
|
32
|
-
// ../../node_modules/.pnpm/tsup@8.3.
|
|
32
|
+
// ../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js
|
|
33
33
|
var getImportMetaUrl, importMetaUrl;
|
|
34
34
|
var init_cjs_shims = __esm({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.3.
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
|
|
38
38
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -1866,6 +1866,7 @@ var configExtensions = [
|
|
|
1866
1866
|
"json"
|
|
1867
1867
|
];
|
|
1868
1868
|
var supportedCssLangs = [
|
|
1869
|
+
"css",
|
|
1869
1870
|
"wxss",
|
|
1870
1871
|
"scss",
|
|
1871
1872
|
"less",
|
|
@@ -15296,9 +15297,10 @@ async function loadConfig(opts) {
|
|
|
15296
15297
|
assetsDir: ".",
|
|
15297
15298
|
commonjsOptions: {
|
|
15298
15299
|
transformMixedEsModules: true,
|
|
15299
|
-
//
|
|
15300
|
-
|
|
15301
|
-
|
|
15300
|
+
// eslint-disable-next-line regexp/no-empty-group
|
|
15301
|
+
include: [
|
|
15302
|
+
/(?:)/
|
|
15303
|
+
]
|
|
15302
15304
|
}
|
|
15303
15305
|
},
|
|
15304
15306
|
logLevel: "warn",
|
package/dist/cli.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
createCompilerContext,
|
|
4
4
|
logger_default,
|
|
5
5
|
require_Reflect
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NIZ7SGOM.mjs";
|
|
7
|
+
import "./chunk-TY34W2IS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name,
|
|
10
10
|
__toESM,
|
|
11
11
|
init_esm_shims
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QFMRMB73.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli.ts
|
|
15
15
|
init_esm_shims();
|
package/dist/config.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -34,10 +34,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
));
|
|
35
35
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.3.
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var getImportMetaUrl, importMetaUrl;
|
|
39
39
|
var init_cjs_shims = __esm({
|
|
40
|
-
"../../node_modules/.pnpm/tsup@8.3.
|
|
40
|
+
"../../node_modules/.pnpm/tsup@8.3.6_@swc+core@1.10.12_jiti@2.4.2_postcss@8.5.1_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
|
|
41
41
|
"use strict";
|
|
42
42
|
getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
|
|
43
43
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -3282,6 +3282,7 @@ var configExtensions = [
|
|
|
3282
3282
|
"json"
|
|
3283
3283
|
];
|
|
3284
3284
|
var supportedCssLangs = [
|
|
3285
|
+
"css",
|
|
3285
3286
|
"wxss",
|
|
3286
3287
|
"scss",
|
|
3287
3288
|
"less",
|
|
@@ -14700,9 +14701,10 @@ async function loadConfig(opts) {
|
|
|
14700
14701
|
assetsDir: ".",
|
|
14701
14702
|
commonjsOptions: {
|
|
14702
14703
|
transformMixedEsModules: true,
|
|
14703
|
-
//
|
|
14704
|
-
|
|
14705
|
-
|
|
14704
|
+
// eslint-disable-next-line regexp/no-empty-group
|
|
14705
|
+
include: [
|
|
14706
|
+
/(?:)/
|
|
14707
|
+
]
|
|
14706
14708
|
}
|
|
14707
14709
|
},
|
|
14708
14710
|
logLevel: "warn",
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCompilerContext,
|
|
3
3
|
require_Reflect
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NIZ7SGOM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
defineConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TY34W2IS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QFMRMB73.mjs";
|
|
12
12
|
|
|
13
13
|
// src/index.ts
|
|
14
14
|
init_esm_shims();
|
package/dist/json.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"description": "weapp-vite 一个现代化的小程序打包工具",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -80,26 +80,26 @@
|
|
|
80
80
|
"node": ">=20.0.0"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@babel/core": "^7.26.
|
|
84
|
-
"@babel/preset-env": "^7.26.
|
|
83
|
+
"@babel/core": "^7.26.7",
|
|
84
|
+
"@babel/preset-env": "^7.26.7",
|
|
85
85
|
"@babel/preset-typescript": "^7.26.0",
|
|
86
|
-
"@babel/types": "^7.26.
|
|
86
|
+
"@babel/types": "^7.26.7",
|
|
87
87
|
"comment-json": "^4.2.5",
|
|
88
88
|
"debug": "^4.4.0",
|
|
89
89
|
"del": "^8.0.0",
|
|
90
90
|
"esbuild": "^0.24.2",
|
|
91
|
-
"fdir": "^6.4.
|
|
92
|
-
"fs-extra": "^11.
|
|
93
|
-
"pathe": "^2.0.
|
|
91
|
+
"fdir": "^6.4.3",
|
|
92
|
+
"fs-extra": "^11.3.0",
|
|
93
|
+
"pathe": "^2.0.2",
|
|
94
94
|
"picomatch": "^4.0.2",
|
|
95
|
-
"postcss": "^8.
|
|
95
|
+
"postcss": "^8.5.1",
|
|
96
96
|
"ts-morph": "^25.0.0",
|
|
97
|
-
"tsup": "^8.3.
|
|
97
|
+
"tsup": "^8.3.6",
|
|
98
98
|
"vite": "^5.4.11",
|
|
99
99
|
"vite-tsconfig-paths": "^5.1.4",
|
|
100
100
|
"@weapp-core/init": "^1.1.15",
|
|
101
|
-
"@weapp-core/schematics": "^1.0.9",
|
|
102
101
|
"@weapp-core/shared": "^1.0.5",
|
|
102
|
+
"@weapp-core/schematics": "^1.0.9",
|
|
103
103
|
"@weapp-core/logger": "^1.0.2",
|
|
104
104
|
"weapp-ide-cli": "^2.0.9"
|
|
105
105
|
},
|