@voidzero-dev/vite-plus-core 0.1.22 → 0.1.24
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/LICENSE +37 -26
- package/dist/pluginutils/filter/index.d.mts +194 -0
- package/dist/pluginutils/filter/index.mjs +2 -0
- package/dist/pluginutils/filter-B_mD-HGz.mjs +323 -0
- package/dist/pluginutils/index.d.mts +2 -0
- package/dist/pluginutils/index.mjs +2 -0
- package/dist/rolldown/cli.mjs +7 -7
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +3 -3
- package/dist/rolldown/experimental-index.d.mts +21 -4
- package/dist/rolldown/experimental-index.mjs +14 -9
- package/dist/rolldown/filter-index.d.mts +8 -9
- package/dist/rolldown/filter-index.mjs +2 -8
- package/dist/rolldown/get-log-filter.d.mts +3 -3
- package/dist/rolldown/index.d.mts +4 -4
- package/dist/rolldown/index.mjs +5 -5
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +2 -2
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-zH1vcmbM.d.mts → binding-BaCZTfMx.d.mts} +32 -3
- package/dist/rolldown/shared/{binding-ESkOU1xr.mjs → binding-CXquf8ay.mjs} +27 -26
- package/dist/rolldown/shared/{bindingify-input-options-wZdDRbfo.mjs → bindingify-input-options-D2ORek5s.mjs} +14 -14
- package/dist/rolldown/shared/{constructors-D6i2Tbyl.mjs → constructors-BiPdtLBB.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-D0W3rNfA.d.mts → constructors-CbNaT434.d.mts} +2 -2
- package/dist/rolldown/shared/{define-config-5HJ1b9vG.d.mts → define-config-3BX_X2Am.d.mts} +70 -16
- package/dist/rolldown/shared/{error-BrnLyQ-g.mjs → error-BuvQYXuZ.mjs} +1 -1
- package/dist/rolldown/shared/{get-log-filter-semyr3Lj.d.mts → get-log-filter-BpNVNJ5-.d.mts} +1 -1
- package/dist/rolldown/shared/{load-config-BZFgt8GH.mjs → load-config-uvbpmLwO.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-dAjLOSbp.mjs → normalize-string-or-regex-CNPF6PU9.mjs} +2 -2
- package/dist/rolldown/shared/{parse-DFts7Hyl.mjs → parse-1VOPJ1Lj.mjs} +2 -2
- package/dist/rolldown/shared/{prompt-Bm9aMQjm.mjs → prompt-DV1XbtjC.mjs} +1 -1
- package/dist/rolldown/shared/{resolve-tsconfig-DCdBlPeK.mjs → resolve-tsconfig-CcfxWrib.mjs} +15 -4
- package/dist/rolldown/shared/{rolldown-Cs2eRf4R.mjs → rolldown-BZYLlfsv.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-CNhzgsn2.mjs → rolldown-build-CgMNHFY3.mjs} +54 -65
- package/dist/rolldown/shared/{transform-DgZ3paSD.d.mts → transform-7xCUVrpL.d.mts} +2 -2
- package/dist/rolldown/shared/{watch-De_8Tgeq.mjs → watch-BX_aH1Oh.mjs} +6 -6
- package/dist/rolldown/utils-index.d.mts +3 -3
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/{build-5FURNVr0-D2dbyiC6.js → build-BZshaq8i-C7uS6x65.js} +1173 -93
- package/dist/tsdown/{detect-DN3DXXYt-8gmDjZqp.js → detect-B97OSl92-CgjrIbmD.js} +1 -1
- package/dist/tsdown/{dist-DTzJRoOQ.js → dist-BHLOKn-2.js} +526 -224
- package/dist/tsdown/index-types.d.ts +30 -12
- package/dist/tsdown/index.js +3 -4
- package/dist/tsdown/main-nVIFtu2j.js +938 -0
- package/dist/tsdown/npm_cjs_chunk_range.cjs +11 -11
- package/dist/tsdown/npm_cjs_chunk_semver.cjs +6 -6
- package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +2 -2
- package/dist/tsdown/npm_entry_semver_functions_satisfies.cjs +1 -1
- package/dist/tsdown/npm_entry_semver_ranges_min-version.cjs +1 -1
- package/dist/tsdown/{resolver-DkvdaW3s-BeVUoOo-.js → resolver-DtsKFXi2-QB-x8j3e.js} +1 -1
- package/dist/tsdown/run.js +5 -6
- package/dist/tsdown/{tsc-Dr9kCkDm.js → tsc-WMktM0FW.js} +3 -3
- package/dist/tsdown/{tsc-context-CANQEB9U.js → tsc-context-DKufFI_s.js} +2 -2
- package/dist/vite/client/client.mjs +61 -27
- package/dist/vite/node/chunks/build.js +21 -21
- package/dist/vite/node/chunks/dist.js +1 -1
- package/dist/vite/node/chunks/dist2.js +136 -110
- package/dist/vite/node/chunks/lib.js +1 -1
- package/dist/vite/node/chunks/logger.js +36 -3
- package/dist/vite/node/chunks/node.js +490 -277
- package/dist/vite/node/chunks/postcss-import.js +11 -11
- package/dist/vite/node/cli.js +1 -2
- package/dist/vite/node/index.d.ts +29 -14
- package/dist/vite/node/module-runner.d.ts +1 -2
- package/dist/vite/node/module-runner.js +19 -18
- package/dist/vite/types/customEvent.d.ts +1 -1
- package/package.json +17 -23
- package/dist/pluginutils/filter/composable-filters.d.ts +0 -90
- package/dist/pluginutils/filter/composable-filters.js +0 -256
- package/dist/pluginutils/filter/filter-vite-plugins.d.ts +0 -28
- package/dist/pluginutils/filter/filter-vite-plugins.js +0 -75
- package/dist/pluginutils/filter/index.d.ts +0 -3
- package/dist/pluginutils/filter/index.js +0 -3
- package/dist/pluginutils/filter/simple-filters.d.ts +0 -71
- package/dist/pluginutils/filter/simple-filters.js +0 -70
- package/dist/pluginutils/index.d.ts +0 -1
- package/dist/pluginutils/index.js +0 -1
- package/dist/pluginutils/utils.d.ts +0 -2
- package/dist/pluginutils/utils.js +0 -17
- package/dist/tsdown/chunk-N93fKeF6.js +0 -34
- package/dist/tsdown/debug-CLlnG64L-BkAqwHVS.js +0 -16
- package/dist/tsdown/dist-Cv2Z0Bi_.js +0 -1012
- package/dist/tsdown/filename-DQnUJlio-D7-CzKqs.js +0 -29
- package/dist/tsdown/main-BNUO6D3N.js +0 -893
- package/dist/tsdown/node-B3Gdtau1.js +0 -268
- package/dist/vite/node/chunks/chunk.js +0 -35
- /package/dist/rolldown/shared/{define-config-DJOr6Iwt.mjs → define-config-Demdg3_4.mjs} +0 -0
- /package/dist/rolldown/shared/{logging-C6h4g8dA.d.mts → logging-BSNejiLS.d.mts} +0 -0
- /package/dist/rolldown/shared/{logs-D80CXhvg.mjs → logs-aMKUxRpj.mjs} +0 -0
- /package/dist/rolldown/shared/{misc-DJYbNKZX.mjs → misc-CoQm4NHO.mjs} +0 -0
- /package/dist/tsdown/{dist-JaOach5K.js → dist-CZtGyfn3.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
2
|
const require_semver$1 = require("./npm_cjs_chunk_semver.cjs");
|
|
3
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/lrucache.js
|
|
4
4
|
var require_lrucache = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
5
5
|
var LRUCache = class {
|
|
6
6
|
constructor() {
|
|
@@ -33,56 +33,56 @@ var require_lrucache = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
|
|
|
33
33
|
module.exports = LRUCache;
|
|
34
34
|
}));
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
36
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/compare.js
|
|
37
37
|
var require_compare = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
38
38
|
const SemVer = require_semver$1.require_semver();
|
|
39
39
|
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
40
40
|
module.exports = compare;
|
|
41
41
|
}));
|
|
42
42
|
//#endregion
|
|
43
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
43
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/eq.js
|
|
44
44
|
var require_eq = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
45
45
|
const compare = require_compare();
|
|
46
46
|
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
47
47
|
module.exports = eq;
|
|
48
48
|
}));
|
|
49
49
|
//#endregion
|
|
50
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
50
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/neq.js
|
|
51
51
|
var require_neq = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
52
52
|
const compare = require_compare();
|
|
53
53
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
54
54
|
module.exports = neq;
|
|
55
55
|
}));
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
57
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/gt.js
|
|
58
58
|
var require_gt = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
59
59
|
const compare = require_compare();
|
|
60
60
|
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
61
61
|
module.exports = gt;
|
|
62
62
|
}));
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
64
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/gte.js
|
|
65
65
|
var require_gte = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
66
66
|
const compare = require_compare();
|
|
67
67
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
68
68
|
module.exports = gte;
|
|
69
69
|
}));
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
71
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/lt.js
|
|
72
72
|
var require_lt = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
73
73
|
const compare = require_compare();
|
|
74
74
|
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
75
75
|
module.exports = lt;
|
|
76
76
|
}));
|
|
77
77
|
//#endregion
|
|
78
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
78
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/lte.js
|
|
79
79
|
var require_lte = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
80
80
|
const compare = require_compare();
|
|
81
81
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
82
82
|
module.exports = lte;
|
|
83
83
|
}));
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
85
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/cmp.js
|
|
86
86
|
var require_cmp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
87
87
|
const eq = require_eq();
|
|
88
88
|
const neq = require_neq();
|
|
@@ -114,7 +114,7 @@ var require_cmp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
114
114
|
module.exports = cmp;
|
|
115
115
|
}));
|
|
116
116
|
//#endregion
|
|
117
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
117
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/classes/comparator.js
|
|
118
118
|
var require_comparator = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
119
119
|
const ANY = Symbol("SemVer ANY");
|
|
120
120
|
module.exports = class Comparator {
|
|
@@ -184,7 +184,7 @@ var require_comparator = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
184
184
|
const Range = require_range();
|
|
185
185
|
}));
|
|
186
186
|
//#endregion
|
|
187
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
187
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/classes/range.js
|
|
188
188
|
var require_range = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
189
189
|
const SPACE_CHARACTERS = /\s+/g;
|
|
190
190
|
module.exports = class Range {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/parse-options.js
|
|
3
3
|
var require_parse_options = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
4
4
|
const looseOption = Object.freeze({ loose: true });
|
|
5
5
|
const emptyOpts = Object.freeze({});
|
|
@@ -11,7 +11,7 @@ var require_parse_options = /* @__PURE__ */ require_chunk.__commonJSMin(((export
|
|
|
11
11
|
module.exports = parseOptions;
|
|
12
12
|
}));
|
|
13
13
|
//#endregion
|
|
14
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
14
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/constants.js
|
|
15
15
|
var require_constants = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
16
16
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
17
17
|
const MAX_LENGTH = 256;
|
|
@@ -36,12 +36,12 @@ var require_constants = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
36
36
|
};
|
|
37
37
|
}));
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
39
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/debug.js
|
|
40
40
|
var require_debug = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
41
41
|
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
42
42
|
}));
|
|
43
43
|
//#endregion
|
|
44
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
44
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/re.js
|
|
45
45
|
var require_re = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
46
46
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
|
|
47
47
|
const debug = require_debug();
|
|
@@ -120,7 +120,7 @@ var require_re = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
|
|
|
120
120
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
121
121
|
}));
|
|
122
122
|
//#endregion
|
|
123
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
123
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/internal/identifiers.js
|
|
124
124
|
var require_identifiers = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
125
125
|
const numeric = /^[0-9]+$/;
|
|
126
126
|
const compareIdentifiers = (a, b) => {
|
|
@@ -140,7 +140,7 @@ var require_identifiers = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
|
|
|
140
140
|
};
|
|
141
141
|
}));
|
|
142
142
|
//#endregion
|
|
143
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
143
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/classes/semver.js
|
|
144
144
|
var require_semver = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
145
145
|
const debug = require_debug();
|
|
146
146
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
2
|
const require_semver$1 = require("./npm_cjs_chunk_semver.cjs");
|
|
3
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/parse.js
|
|
4
4
|
var require_parse = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
5
5
|
const SemVer = require_semver$1.require_semver();
|
|
6
6
|
const parse = (version, options, throwErrors = false) => {
|
|
@@ -15,7 +15,7 @@ var require_parse = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
15
15
|
module.exports = parse;
|
|
16
16
|
}));
|
|
17
17
|
//#endregion
|
|
18
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
18
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/coerce.js
|
|
19
19
|
var require_coerce = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
20
20
|
const SemVer = require_semver$1.require_semver();
|
|
21
21
|
const parse = require_parse();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
2
|
const require_range$1 = require("./npm_cjs_chunk_range.cjs");
|
|
3
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/functions/satisfies.js
|
|
4
4
|
var require_satisfies = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
5
5
|
const Range = require_range$1.require_range();
|
|
6
6
|
const satisfies = (version, range, options) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./npm_cjs_chunk_chunk.cjs");
|
|
2
2
|
const require_range$1 = require("./npm_cjs_chunk_range.cjs");
|
|
3
3
|
const require_semver$1 = require("./npm_cjs_chunk_semver.cjs");
|
|
4
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
4
|
+
//#region ../../node_modules/.pnpm/semver@7.8.0/node_modules/semver/ranges/min-version.js
|
|
5
5
|
var require_min_version = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
6
6
|
const SemVer = require_semver$1.require_semver();
|
|
7
7
|
const Range = require_range$1.require_range();
|
package/dist/tsdown/run.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { t as enableDebug } from "./debug-CLlnG64L-BkAqwHVS.js";
|
|
2
|
+
import { f as blue, g as hex, i as version, r as enableDebug, t as R, u as globalLogger } from "./main-nVIFtu2j.js";
|
|
4
3
|
import module from "node:module";
|
|
5
4
|
import process$1 from "node:process";
|
|
6
5
|
import { VERSION } from "@voidzero-dev/vite-plus-core/rolldown";
|
|
@@ -622,7 +621,7 @@ var CAC = class extends EventTarget {
|
|
|
622
621
|
*/
|
|
623
622
|
const cac = (name = "") => new CAC(name);
|
|
624
623
|
//#endregion
|
|
625
|
-
//#region ../../node_modules/.pnpm/tsdown@0.22.
|
|
624
|
+
//#region ../../node_modules/.pnpm/tsdown@0.22.1_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.1_@tsdown+exe@0.22.1_@type_b2f732f99208225f009f13478ba95350/node_modules/tsdown/dist/run.mjs
|
|
626
625
|
const cli = cac("tsdown");
|
|
627
626
|
cli.help().version(version);
|
|
628
627
|
cli.command("[...files]", "Bundle files", {
|
|
@@ -631,13 +630,13 @@ cli.command("[...files]", "Bundle files", {
|
|
|
631
630
|
}).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, tsx, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate export-related metadata for package.json (experimental)").action(async (input, flags) => {
|
|
632
631
|
globalLogger.level = flags.logLevel || "info";
|
|
633
632
|
globalLogger.info(`${blue`tsdown v${version}`} powered by ${hex("#ff7e17")`rolldown v${VERSION}`}`);
|
|
634
|
-
const { build } = await import("./build-
|
|
633
|
+
const { build } = await import("./build-BZshaq8i-C7uS6x65.js").then((n) => n.r).then((n) => n.r);
|
|
635
634
|
if (input.length > 0) flags.entry = input;
|
|
636
635
|
await build(flags);
|
|
637
636
|
});
|
|
638
637
|
cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-tsdown\" instead.", { allowUnknownOptions: true }).action(async () => {
|
|
639
638
|
globalLogger.warn(`"tsdown create" is deprecated. Please use "npx create-tsdown" instead.`);
|
|
640
|
-
const { exitCode } = await
|
|
639
|
+
const { exitCode } = await R("npx", [
|
|
641
640
|
"-y",
|
|
642
641
|
"create-tsdown@latest",
|
|
643
642
|
...process$1.argv.slice(3)
|
|
@@ -646,7 +645,7 @@ cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-ts
|
|
|
646
645
|
});
|
|
647
646
|
cli.command("migrate", "[deprecated] Migrate from tsup to tsdown. Use \"npx tsdown-migrate\" instead.", { allowUnknownOptions: true }).action(async () => {
|
|
648
647
|
globalLogger.warn(`"tsdown migrate" is deprecated. Please use "npx tsdown-migrate" instead.`);
|
|
649
|
-
const { exitCode } = await
|
|
648
|
+
const { exitCode } = await R("npx", [
|
|
650
649
|
"-y",
|
|
651
650
|
"tsdown-migrate@latest",
|
|
652
651
|
...process$1.argv.slice(3)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as globalContext } from "./tsc-context-
|
|
1
|
+
import { a as createDebug } from "./main-nVIFtu2j.js";
|
|
2
|
+
import { l as RE_DTS, u as RE_DTS_MAP } from "./build-BZshaq8i-C7uS6x65.js";
|
|
3
|
+
import { n as globalContext } from "./tsc-context-DKufFI_s.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as createDebug } from "./main-nVIFtu2j.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.25.
|
|
3
|
+
//#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.25.2_@typescript+native-preview@7.0.0-dev.20260122.2_oxc-resolver_8152cf0e534aee518f40abeb59f8494a/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
|
|
4
4
|
const debug = createDebug("rolldown-plugin-dts:tsc-context");
|
|
5
5
|
function createContext() {
|
|
6
6
|
return {
|
|
@@ -8,7 +8,7 @@ let nanoid = (size = 21) => {
|
|
|
8
8
|
return id;
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region \0@oxc-project+runtime@0.
|
|
11
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
12
12
|
function _typeof(o) {
|
|
13
13
|
"@babel/helpers - typeof";
|
|
14
14
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -18,7 +18,7 @@ function _typeof(o) {
|
|
|
18
18
|
}, _typeof(o);
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region \0@oxc-project+runtime@0.
|
|
21
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
22
22
|
function toPrimitive(t, r) {
|
|
23
23
|
if ("object" != _typeof(t) || !t) return t;
|
|
24
24
|
var e = t[Symbol.toPrimitive];
|
|
@@ -30,13 +30,13 @@ function toPrimitive(t, r) {
|
|
|
30
30
|
return ("string" === r ? String : Number)(t);
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
|
-
//#region \0@oxc-project+runtime@0.
|
|
33
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
34
34
|
function toPropertyKey(t) {
|
|
35
35
|
var i = toPrimitive(t, "string");
|
|
36
36
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region \0@oxc-project+runtime@0.
|
|
39
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
40
40
|
function _defineProperty(e, r, t) {
|
|
41
41
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
42
42
|
value: t,
|
|
@@ -381,16 +381,22 @@ const normalizeModuleRunnerTransport = (transport) => {
|
|
|
381
381
|
async send(data) {
|
|
382
382
|
if (!invokeableTransport.send) return;
|
|
383
383
|
if (!isConnected) if (connectingPromise) await connectingPromise;
|
|
384
|
-
else throw new
|
|
384
|
+
else throw new SendBeforeConnectError("send was called before connect");
|
|
385
385
|
await invokeableTransport.send(data);
|
|
386
386
|
},
|
|
387
387
|
async invoke(name, data) {
|
|
388
388
|
if (!isConnected) if (connectingPromise) await connectingPromise;
|
|
389
|
-
else throw new
|
|
389
|
+
else throw new SendBeforeConnectError("invoke was called before connect");
|
|
390
390
|
return invokeableTransport.invoke(name, data);
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
};
|
|
394
|
+
var SendBeforeConnectError = class extends Error {
|
|
395
|
+
constructor(message) {
|
|
396
|
+
super(message);
|
|
397
|
+
this.name = "SendBeforeConnectError";
|
|
398
|
+
}
|
|
399
|
+
};
|
|
394
400
|
const createWebSocketModuleRunnerTransport = (options) => {
|
|
395
401
|
const pingInterval = options.pingInterval ?? 3e4;
|
|
396
402
|
let ws;
|
|
@@ -474,10 +480,10 @@ var Queue = class {
|
|
|
474
480
|
};
|
|
475
481
|
//#endregion
|
|
476
482
|
//#region ../../vite/packages/vite/src/shared/forwardConsole.ts
|
|
477
|
-
function setupForwardConsoleHandler(transport, options) {
|
|
483
|
+
function setupForwardConsoleHandler(transport, options, console = globalThis.console) {
|
|
478
484
|
if (!options.enabled) return;
|
|
479
|
-
function sendError(type, error) {
|
|
480
|
-
transport.send({
|
|
485
|
+
async function sendError(type, error) {
|
|
486
|
+
await transport.send({
|
|
481
487
|
type: "custom",
|
|
482
488
|
event: "vite:forward-console",
|
|
483
489
|
data: {
|
|
@@ -490,19 +496,28 @@ function setupForwardConsoleHandler(transport, options) {
|
|
|
490
496
|
}
|
|
491
497
|
});
|
|
492
498
|
}
|
|
493
|
-
function sendLog(level, args) {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
type: "log",
|
|
499
|
+
async function sendLog(level, args) {
|
|
500
|
+
try {
|
|
501
|
+
await transport.send({
|
|
502
|
+
type: "custom",
|
|
503
|
+
event: "vite:forward-console",
|
|
499
504
|
data: {
|
|
500
|
-
|
|
501
|
-
|
|
505
|
+
type: "log",
|
|
506
|
+
data: {
|
|
507
|
+
level,
|
|
508
|
+
message: formatConsoleArgs(args)
|
|
509
|
+
}
|
|
502
510
|
}
|
|
511
|
+
});
|
|
512
|
+
} catch (err) {
|
|
513
|
+
try {
|
|
514
|
+
await sendError("unhandled-rejection", err);
|
|
515
|
+
} catch (err) {
|
|
516
|
+
if (!(err instanceof SendBeforeConnectError)) originalConsoleError("Failed to send error to Vite server:", err);
|
|
503
517
|
}
|
|
504
|
-
}
|
|
518
|
+
}
|
|
505
519
|
}
|
|
520
|
+
const originalConsoleError = console.error;
|
|
506
521
|
for (const level of options.logLevels) {
|
|
507
522
|
const original = console[level];
|
|
508
523
|
if (typeof original !== "function") continue;
|
|
@@ -512,11 +527,20 @@ function setupForwardConsoleHandler(transport, options) {
|
|
|
512
527
|
};
|
|
513
528
|
}
|
|
514
529
|
if (options.unhandledErrors && typeof window !== "undefined") {
|
|
515
|
-
window.addEventListener("error", (event) => {
|
|
516
|
-
|
|
530
|
+
window.addEventListener("error", async (event) => {
|
|
531
|
+
const error = event.error ?? (event.message ? new Error(event.message) : event);
|
|
532
|
+
try {
|
|
533
|
+
await sendError("error", error);
|
|
534
|
+
} catch (err) {
|
|
535
|
+
if (!(err instanceof SendBeforeConnectError)) originalConsoleError("Failed to send error to Vite server:", err);
|
|
536
|
+
}
|
|
517
537
|
});
|
|
518
|
-
window.addEventListener("unhandledrejection", (event) => {
|
|
519
|
-
|
|
538
|
+
window.addEventListener("unhandledrejection", async (event) => {
|
|
539
|
+
try {
|
|
540
|
+
await sendError("unhandled-rejection", event.reason);
|
|
541
|
+
} catch (err) {
|
|
542
|
+
if (!(err instanceof SendBeforeConnectError)) originalConsoleError("Failed to send error to Vite server:", err);
|
|
543
|
+
}
|
|
520
544
|
});
|
|
521
545
|
}
|
|
522
546
|
}
|
|
@@ -1220,20 +1244,30 @@ if (isBundleMode && typeof DevRuntime !== "undefined") {
|
|
|
1220
1244
|
}
|
|
1221
1245
|
applyUpdates(_boundaries) {}
|
|
1222
1246
|
}
|
|
1223
|
-
const
|
|
1247
|
+
const clientId = nanoid();
|
|
1248
|
+
transport.send({
|
|
1249
|
+
type: "custom",
|
|
1250
|
+
event: "vite:module-loaded",
|
|
1251
|
+
data: {
|
|
1252
|
+
modules: [],
|
|
1253
|
+
clientId
|
|
1254
|
+
}
|
|
1255
|
+
});
|
|
1256
|
+
(_ref = globalThis).__rolldown_runtime__ ?? (_ref.__rolldown_runtime__ = new ViteDevRuntime({ send(message) {
|
|
1224
1257
|
switch (message.type) {
|
|
1225
1258
|
case "hmr:module-registered":
|
|
1226
1259
|
transport.send({
|
|
1227
1260
|
type: "custom",
|
|
1228
1261
|
event: "vite:module-loaded",
|
|
1229
|
-
data: {
|
|
1262
|
+
data: {
|
|
1263
|
+
modules: message.modules.slice(),
|
|
1264
|
+
clientId
|
|
1265
|
+
}
|
|
1230
1266
|
});
|
|
1231
1267
|
break;
|
|
1232
1268
|
default: throw new Error(`Unknown message type: ${JSON.stringify(message)}`);
|
|
1233
1269
|
}
|
|
1234
|
-
} };
|
|
1235
|
-
const clientId = nanoid();
|
|
1236
|
-
(_ref = globalThis).__rolldown_runtime__ ?? (_ref.__rolldown_runtime__ = new ViteDevRuntime(wrappedSocket, clientId));
|
|
1270
|
+
} }, clientId));
|
|
1237
1271
|
}
|
|
1238
1272
|
//#endregion
|
|
1239
1273
|
export { ErrorOverlay, createHotContext, injectQuery, removeStyle, updateStyle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as __commonJSMin, H as __require } from "./logger.js";
|
|
2
2
|
import { t as require_lib } from "./lib.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/fs.js
|
|
4
4
|
var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getFileSystem = getFileSystem;
|
|
@@ -22,7 +22,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
22
22
|
}
|
|
23
23
|
}));
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
25
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/unquote.js
|
|
26
26
|
var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
exports.default = unquote;
|
|
@@ -35,7 +35,7 @@ var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35
35
|
}
|
|
36
36
|
}));
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
38
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceValueSymbols.js
|
|
39
39
|
var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40
40
|
const matchValueName = /[$]?[\w-]+/g;
|
|
41
41
|
const replaceValueSymbols = (value, replacements) => {
|
|
@@ -52,7 +52,7 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, modul
|
|
|
52
52
|
module.exports = replaceValueSymbols;
|
|
53
53
|
}));
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
55
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceSymbols.js
|
|
56
56
|
var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
57
57
|
const replaceValueSymbols = require_replaceValueSymbols();
|
|
58
58
|
const replaceSymbols = (css, replacements) => {
|
|
@@ -65,7 +65,7 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
65
65
|
module.exports = replaceSymbols;
|
|
66
66
|
}));
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
68
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/extractICSS.js
|
|
69
69
|
var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
70
70
|
const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
|
|
71
71
|
const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
|
|
@@ -119,7 +119,7 @@ var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
119
119
|
module.exports = extractICSS;
|
|
120
120
|
}));
|
|
121
121
|
//#endregion
|
|
122
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
122
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/createICSSRules.js
|
|
123
123
|
var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
124
124
|
const createImports = (imports, postcss, mode = "rule") => {
|
|
125
125
|
return Object.keys(imports).map((path) => {
|
|
@@ -163,7 +163,7 @@ var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
163
163
|
module.exports = createICSSRules;
|
|
164
164
|
}));
|
|
165
165
|
//#endregion
|
|
166
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
166
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/index.js
|
|
167
167
|
var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
168
168
|
module.exports = {
|
|
169
169
|
replaceValueSymbols: require_replaceValueSymbols(),
|
|
@@ -173,7 +173,7 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
173
173
|
};
|
|
174
174
|
}));
|
|
175
175
|
//#endregion
|
|
176
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
176
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/Parser.js
|
|
177
177
|
var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
178
178
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
179
179
|
exports.default = void 0;
|
|
@@ -241,7 +241,7 @@ var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
241
241
|
exports.default = Parser;
|
|
242
242
|
}));
|
|
243
243
|
//#endregion
|
|
244
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
244
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/saveJSON.js
|
|
245
245
|
var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
246
246
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
247
247
|
exports.default = saveJSON;
|
|
@@ -893,7 +893,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
893
893
|
module.exports = camelCase;
|
|
894
894
|
}));
|
|
895
895
|
//#endregion
|
|
896
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
896
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/localsConvention.js
|
|
897
897
|
var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
898
898
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
899
899
|
exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
|
|
@@ -933,7 +933,7 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
933
933
|
}
|
|
934
934
|
}));
|
|
935
935
|
//#endregion
|
|
936
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
936
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/FileSystemLoader.js
|
|
937
937
|
var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
938
938
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
939
939
|
exports.default = void 0;
|
|
@@ -1018,7 +1018,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1018
1018
|
exports.default = FileSystemLoader;
|
|
1019
1019
|
}));
|
|
1020
1020
|
//#endregion
|
|
1021
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1021
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
|
|
1022
1022
|
var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1023
1023
|
const PERMANENT_MARKER = 2;
|
|
1024
1024
|
const TEMPORARY_MARKER = 1;
|
|
@@ -1057,7 +1057,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
1057
1057
|
module.exports = topologicalSort;
|
|
1058
1058
|
}));
|
|
1059
1059
|
//#endregion
|
|
1060
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1060
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/index.js
|
|
1061
1061
|
var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1062
1062
|
const topologicalSort = require_topologicalSort();
|
|
1063
1063
|
const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
|
|
@@ -2801,7 +2801,7 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2801
2801
|
opts.quoteMark = quoteMark;
|
|
2802
2802
|
return opts;
|
|
2803
2803
|
}
|
|
2804
|
-
var Attribute =
|
|
2804
|
+
var Attribute = /*#__PURE__*/ function(_Namespace) {
|
|
2805
2805
|
_inheritsLoose(Attribute, _Namespace);
|
|
2806
2806
|
function Attribute(opts) {
|
|
2807
2807
|
var _this;
|
|
@@ -4563,7 +4563,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4563
4563
|
module.exports = exports.default;
|
|
4564
4564
|
}));
|
|
4565
4565
|
//#endregion
|
|
4566
|
-
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.
|
|
4566
|
+
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.15/node_modules/postcss-modules-local-by-default/src/index.js
|
|
4567
4567
|
var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4568
4568
|
const selectorParser = require_dist();
|
|
4569
4569
|
const valueParser = require_lib();
|
|
@@ -4961,7 +4961,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4961
4961
|
module.exports.postcss = true;
|
|
4962
4962
|
}));
|
|
4963
4963
|
//#endregion
|
|
4964
|
-
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.
|
|
4964
|
+
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.15/node_modules/postcss-modules-scope/src/index.js
|
|
4965
4965
|
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4966
4966
|
const selectorParser = require_dist();
|
|
4967
4967
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -5141,7 +5141,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5141
5141
|
module.exports = hash;
|
|
5142
5142
|
}));
|
|
5143
5143
|
//#endregion
|
|
5144
|
-
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.
|
|
5144
|
+
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.15/node_modules/postcss-modules-values/src/index.js
|
|
5145
5145
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5146
5146
|
const ICSSUtils = require_src$4();
|
|
5147
5147
|
const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
|
|
@@ -5228,7 +5228,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5228
5228
|
module.exports.postcss = true;
|
|
5229
5229
|
}));
|
|
5230
5230
|
//#endregion
|
|
5231
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
5231
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/scoping.js
|
|
5232
5232
|
var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5233
5233
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5234
5234
|
exports.behaviours = void 0;
|
|
@@ -5290,7 +5290,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5290
5290
|
}
|
|
5291
5291
|
}));
|
|
5292
5292
|
//#endregion
|
|
5293
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
5293
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/pluginFactory.js
|
|
5294
5294
|
var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5295
5295
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5296
5296
|
exports.makePlugin = makePlugin;
|
|
@@ -5364,7 +5364,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5364
5364
|
}
|
|
5365
5365
|
}));
|
|
5366
5366
|
//#endregion
|
|
5367
|
-
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.
|
|
5367
|
+
//#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/index.js
|
|
5368
5368
|
var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5369
5369
|
var _fs = __require("fs");
|
|
5370
5370
|
var _fs2 = require_fs();
|