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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "../chunk-PEN3BLSY.mjs";
4
+ } from "../chunk-QFMRMB73.mjs";
5
5
 
6
6
  // src/auto-import-components/resolvers/index.ts
7
7
  init_esm_shims();
@@ -3,7 +3,7 @@ import {
3
3
  __name,
4
4
  __toESM,
5
5
  init_esm_shims
6
- } from "./chunk-PEN3BLSY.mjs";
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
- // include:[/(?:)/]
14647
- // const regex = /(?:)/; // 单次匹配
14648
- include: void 0
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
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
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "./chunk-PEN3BLSY.mjs";
4
+ } from "./chunk-QFMRMB73.mjs";
5
5
 
6
6
  // src/config.ts
7
7
  init_esm_shims();
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
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
- // include:[/(?:)/]
15300
- // const regex = /(?:)/; // 单次匹配
15301
- include: void 0
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-6ZIOYCGJ.mjs";
7
- import "./chunk-RSPHXR3C.mjs";
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-PEN3BLSY.mjs";
12
+ } from "./chunk-QFMRMB73.mjs";
13
13
 
14
14
  // src/cli.ts
15
15
  init_esm_shims();
package/dist/config.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  defineConfig
3
- } from "./chunk-RSPHXR3C.mjs";
4
- import "./chunk-PEN3BLSY.mjs";
3
+ } from "./chunk-TY34W2IS.mjs";
4
+ import "./chunk-QFMRMB73.mjs";
5
5
  export {
6
6
  defineConfig
7
7
  };
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js
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.5_@swc+core@1.10.7_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/cjs_shims.js"() {
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
- // include:[/(?:)/]
14704
- // const regex = /(?:)/; // 单次匹配
14705
- include: void 0
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-6ZIOYCGJ.mjs";
4
+ } from "./chunk-NIZ7SGOM.mjs";
5
5
  import {
6
6
  defineConfig
7
- } from "./chunk-RSPHXR3C.mjs";
7
+ } from "./chunk-TY34W2IS.mjs";
8
8
  import {
9
9
  __toESM,
10
10
  init_esm_shims
11
- } from "./chunk-PEN3BLSY.mjs";
11
+ } from "./chunk-QFMRMB73.mjs";
12
12
 
13
13
  // src/index.ts
14
14
  init_esm_shims();
package/dist/json.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "./chunk-PEN3BLSY.mjs";
4
+ } from "./chunk-QFMRMB73.mjs";
5
5
 
6
6
  // src/json.ts
7
7
  init_esm_shims();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "2.1.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.0",
84
- "@babel/preset-env": "^7.26.0",
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.5",
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.2",
92
- "fs-extra": "^11.2.0",
93
- "pathe": "^2.0.1",
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.4.49",
95
+ "postcss": "^8.5.1",
96
96
  "ts-morph": "^25.0.0",
97
- "tsup": "^8.3.5",
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
  },