@rolldown/browser 1.0.0-beta.33 → 1.0.0-beta.34
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/cli.cjs +31 -31
- package/dist/cli.mjs +31 -31
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +3 -3
- package/dist/experimental-index.browser.mjs +34 -3
- package/dist/experimental-index.cjs +36 -2
- package/dist/experimental-index.d.cts +36 -4
- package/dist/experimental-index.d.mts +36 -4
- package/dist/experimental-index.mjs +35 -4
- package/dist/filter-index.d.cts +2 -2
- package/dist/filter-index.d.mts +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +2 -2
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.cts +2 -2
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.d.cts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/rolldown-binding.wasi-browser.js +3 -0
- package/dist/rolldown-binding.wasi.cjs +3 -0
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/shared/{binding-CFhvYkVn.d.mts → binding-9k0egz6L.d.mts} +107 -7
- package/dist/shared/{binding-DQk9TN_A.d.cts → binding-D13M6Llu.d.cts} +107 -7
- package/dist/shared/{define-config-B3QOs3Kt.d.cts → define-config-D5AluabE.d.cts} +63 -24
- package/dist/shared/{define-config-DyjJkNqG.d.mts → define-config-DzIQxNqU.d.mts} +63 -24
- package/dist/shared/{load-config-CLPLfZVe.mjs → load-config--VYNOtUY.mjs} +1 -1
- package/dist/shared/{load-config-xKQFLlGV.cjs → load-config-DfHD1OI9.cjs} +1 -1
- package/dist/shared/{parse-ast-index-BGzB5Bo-.mjs → parse-ast-index-C_CZT4St.mjs} +1 -1
- package/dist/shared/{parse-ast-index-BZfwAN9P.cjs → parse-ast-index-ChWj_C49.cjs} +1 -1
- package/dist/shared/{src-CZgQg1yE.mjs → src-B4V64IkU.mjs} +105 -90
- package/dist/shared/{src-CGziNJPr.cjs → src-McCMqGpa.cjs} +122 -95
- package/dist/{src-D_htlJ_o.js → src-Bl12Y5ab.js} +102 -87
- package/package.json +19 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
2
|
+
const require_parse_ast_index = require('./parse-ast-index-ChWj_C49.cjs');
|
|
3
3
|
const require_dist = require('./dist-CK0hotcm.cjs');
|
|
4
4
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("../rolldown-binding.wasi.cjs"));
|
|
5
5
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
@@ -9,22 +9,17 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
9
9
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.
|
|
12
|
+
var version = "1.0.0-beta.34";
|
|
13
13
|
var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/utils/normalize-string-or-regex.ts
|
|
17
|
-
function normalizedStringOrRegex(pattern) {
|
|
18
|
-
if (!pattern) return void 0;
|
|
19
|
-
if (!isReadonlyArray(pattern)) return [pattern];
|
|
20
|
-
return pattern;
|
|
21
|
-
}
|
|
22
|
-
function isReadonlyArray(input) {
|
|
23
|
-
return Array.isArray(input);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
15
|
//#endregion
|
|
27
16
|
//#region src/builtin-plugin/utils.ts
|
|
17
|
+
var BuiltinPlugin = class {
|
|
18
|
+
constructor(name, _options) {
|
|
19
|
+
this.name = name;
|
|
20
|
+
this._options = _options;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
28
23
|
function makeBuiltinPluginCallable(plugin) {
|
|
29
24
|
let callablePlugin = new src_rolldown_binding_wasi_cjs.BindingCallableBuiltinPlugin(bindingifyBuiltInPlugin(plugin));
|
|
30
25
|
const wrappedPlugin = plugin;
|
|
@@ -48,67 +43,6 @@ function bindingifyBuiltInPlugin(plugin) {
|
|
|
48
43
|
};
|
|
49
44
|
}
|
|
50
45
|
|
|
51
|
-
//#endregion
|
|
52
|
-
//#region src/builtin-plugin/constructors.ts
|
|
53
|
-
var BuiltinPlugin = class {
|
|
54
|
-
constructor(name, _options) {
|
|
55
|
-
this.name = name;
|
|
56
|
-
this._options = _options;
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
function modulePreloadPolyfillPlugin(config) {
|
|
60
|
-
return new BuiltinPlugin("builtin:module-preload-polyfill", config);
|
|
61
|
-
}
|
|
62
|
-
function dynamicImportVarsPlugin(config) {
|
|
63
|
-
if (config) {
|
|
64
|
-
config.include = normalizedStringOrRegex(config.include);
|
|
65
|
-
config.exclude = normalizedStringOrRegex(config.exclude);
|
|
66
|
-
}
|
|
67
|
-
return new BuiltinPlugin("builtin:dynamic-import-vars", config);
|
|
68
|
-
}
|
|
69
|
-
function importGlobPlugin(config) {
|
|
70
|
-
return new BuiltinPlugin("builtin:import-glob", config);
|
|
71
|
-
}
|
|
72
|
-
function reporterPlugin(config) {
|
|
73
|
-
return new BuiltinPlugin("builtin:reporter", config);
|
|
74
|
-
}
|
|
75
|
-
function manifestPlugin(config) {
|
|
76
|
-
return new BuiltinPlugin("builtin:manifest", config);
|
|
77
|
-
}
|
|
78
|
-
function wasmHelperPlugin(config) {
|
|
79
|
-
return new BuiltinPlugin("builtin:wasm-helper", config);
|
|
80
|
-
}
|
|
81
|
-
function wasmFallbackPlugin() {
|
|
82
|
-
const builtinPlugin = new BuiltinPlugin("builtin:wasm-fallback");
|
|
83
|
-
return makeBuiltinPluginCallable(builtinPlugin);
|
|
84
|
-
}
|
|
85
|
-
function loadFallbackPlugin() {
|
|
86
|
-
return new BuiltinPlugin("builtin:load-fallback");
|
|
87
|
-
}
|
|
88
|
-
function jsonPlugin(config) {
|
|
89
|
-
const builtinPlugin = new BuiltinPlugin("builtin:json", config);
|
|
90
|
-
return makeBuiltinPluginCallable(builtinPlugin);
|
|
91
|
-
}
|
|
92
|
-
function buildImportAnalysisPlugin(config) {
|
|
93
|
-
return new BuiltinPlugin("builtin:build-import-analysis", config);
|
|
94
|
-
}
|
|
95
|
-
function viteResolvePlugin(config) {
|
|
96
|
-
const builtinPlugin = new BuiltinPlugin("builtin:vite-resolve", config);
|
|
97
|
-
return makeBuiltinPluginCallable(builtinPlugin);
|
|
98
|
-
}
|
|
99
|
-
function isolatedDeclarationPlugin(config) {
|
|
100
|
-
return new BuiltinPlugin("builtin:isolated-declaration", config);
|
|
101
|
-
}
|
|
102
|
-
function assetPlugin(config) {
|
|
103
|
-
return new BuiltinPlugin("builtin:asset", config);
|
|
104
|
-
}
|
|
105
|
-
function webWorkerPostPlugin() {
|
|
106
|
-
return new BuiltinPlugin("builtin:web-worker-post");
|
|
107
|
-
}
|
|
108
|
-
function oxcRuntimePlugin(config) {
|
|
109
|
-
return new BuiltinPlugin("builtin:oxc-runtime", config);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
46
|
//#endregion
|
|
113
47
|
//#region src/log/logging.ts
|
|
114
48
|
const LOG_LEVEL_SILENT = "silent";
|
|
@@ -233,6 +167,75 @@ function normalizeHook(hook) {
|
|
|
233
167
|
require_dist.unreachable("Invalid hook type");
|
|
234
168
|
}
|
|
235
169
|
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/utils/normalize-string-or-regex.ts
|
|
172
|
+
function normalizedStringOrRegex(pattern) {
|
|
173
|
+
if (!pattern) return void 0;
|
|
174
|
+
if (!isReadonlyArray(pattern)) return [pattern];
|
|
175
|
+
return pattern;
|
|
176
|
+
}
|
|
177
|
+
function isReadonlyArray(input) {
|
|
178
|
+
return Array.isArray(input);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/builtin-plugin/constructors.ts
|
|
183
|
+
function modulePreloadPolyfillPlugin(config) {
|
|
184
|
+
return new BuiltinPlugin("builtin:module-preload-polyfill", config);
|
|
185
|
+
}
|
|
186
|
+
function dynamicImportVarsPlugin(config) {
|
|
187
|
+
if (config) {
|
|
188
|
+
config.include = normalizedStringOrRegex(config.include);
|
|
189
|
+
config.exclude = normalizedStringOrRegex(config.exclude);
|
|
190
|
+
}
|
|
191
|
+
return new BuiltinPlugin("builtin:dynamic-import-vars", config);
|
|
192
|
+
}
|
|
193
|
+
function importGlobPlugin(config) {
|
|
194
|
+
return new BuiltinPlugin("builtin:import-glob", config);
|
|
195
|
+
}
|
|
196
|
+
function reporterPlugin(config) {
|
|
197
|
+
return new BuiltinPlugin("builtin:reporter", config);
|
|
198
|
+
}
|
|
199
|
+
function manifestPlugin(config) {
|
|
200
|
+
return new BuiltinPlugin("builtin:manifest", config);
|
|
201
|
+
}
|
|
202
|
+
function wasmHelperPlugin(config) {
|
|
203
|
+
return new BuiltinPlugin("builtin:wasm-helper", config);
|
|
204
|
+
}
|
|
205
|
+
function wasmFallbackPlugin() {
|
|
206
|
+
const builtinPlugin = new BuiltinPlugin("builtin:wasm-fallback");
|
|
207
|
+
return makeBuiltinPluginCallable(builtinPlugin);
|
|
208
|
+
}
|
|
209
|
+
function loadFallbackPlugin() {
|
|
210
|
+
return new BuiltinPlugin("builtin:load-fallback");
|
|
211
|
+
}
|
|
212
|
+
function jsonPlugin(config) {
|
|
213
|
+
const builtinPlugin = new BuiltinPlugin("builtin:json", config);
|
|
214
|
+
return makeBuiltinPluginCallable(builtinPlugin);
|
|
215
|
+
}
|
|
216
|
+
function buildImportAnalysisPlugin(config) {
|
|
217
|
+
return new BuiltinPlugin("builtin:build-import-analysis", config);
|
|
218
|
+
}
|
|
219
|
+
function viteResolvePlugin(config) {
|
|
220
|
+
const builtinPlugin = new BuiltinPlugin("builtin:vite-resolve", config);
|
|
221
|
+
return makeBuiltinPluginCallable(builtinPlugin);
|
|
222
|
+
}
|
|
223
|
+
function isolatedDeclarationPlugin(config) {
|
|
224
|
+
return new BuiltinPlugin("builtin:isolated-declaration", config);
|
|
225
|
+
}
|
|
226
|
+
function assetPlugin(config) {
|
|
227
|
+
return new BuiltinPlugin("builtin:asset", config);
|
|
228
|
+
}
|
|
229
|
+
function webWorkerPostPlugin() {
|
|
230
|
+
return new BuiltinPlugin("builtin:web-worker-post");
|
|
231
|
+
}
|
|
232
|
+
function oxcRuntimePlugin(config) {
|
|
233
|
+
return new BuiltinPlugin("builtin:oxc-runtime", config);
|
|
234
|
+
}
|
|
235
|
+
function esmExternalRequirePlugin(config) {
|
|
236
|
+
return new BuiltinPlugin("builtin:esm-external-require", config);
|
|
237
|
+
}
|
|
238
|
+
|
|
236
239
|
//#endregion
|
|
237
240
|
//#region src/constants/plugin.ts
|
|
238
241
|
const ENUMERATED_INPUT_PLUGIN_HOOK_NAMES = [
|
|
@@ -1913,6 +1916,7 @@ var require_ansis = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
|
|
|
1913
1916
|
//#endregion
|
|
1914
1917
|
//#region ../../node_modules/.pnpm/ansis@4.1.0/node_modules/ansis/index.mjs
|
|
1915
1918
|
var import_ansis = /* @__PURE__ */ require_chunk.__toESM(require_ansis(), 1);
|
|
1919
|
+
var ansis_default = import_ansis.default;
|
|
1916
1920
|
const { Ansis, fg, bg, rgb, bgRgb, hex, bgHex, reset, inverse, hidden, visible, bold, dim, italic, underline, strikethrough, black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bgGray, bgRedBright, bgGreenBright, bgYellowBright, bgBlueBright, bgMagentaBright, bgCyanBright, bgWhiteBright } = import_ansis.default;
|
|
1917
1921
|
|
|
1918
1922
|
//#endregion
|
|
@@ -2010,7 +2014,7 @@ const TransformOptionsSchema = object({
|
|
|
2010
2014
|
typescript: optional(TypescriptSchema),
|
|
2011
2015
|
helpers: optional(HelpersSchema),
|
|
2012
2016
|
decorators: optional(DecoratorOptionSchema),
|
|
2013
|
-
jsx: optional(JsxOptionsSchema),
|
|
2017
|
+
jsx: optional(union([literal("preserve"), JsxOptionsSchema])),
|
|
2014
2018
|
target: pipe(optional(union([string(), array(string())])), description("The JavaScript target environment"))
|
|
2015
2019
|
});
|
|
2016
2020
|
const WatchOptionsSchema = strictObject({
|
|
@@ -2038,7 +2042,8 @@ const ChecksOptionsSchema = strictObject({
|
|
|
2038
2042
|
commonJsVariableInEsm: pipe(optional(boolean()), description("Whether to emit warning when detecting common js variable in esm")),
|
|
2039
2043
|
importIsUndefined: pipe(optional(boolean()), description("Whether to emit warning when detecting import is undefined")),
|
|
2040
2044
|
emptyImportMeta: pipe(optional(boolean()), description("Whether to emit warning when detecting empty import meta")),
|
|
2041
|
-
configurationFieldConflict: pipe(optional(boolean()), description("Whether to emit warning when detecting configuration field conflict"))
|
|
2045
|
+
configurationFieldConflict: pipe(optional(boolean()), description("Whether to emit warning when detecting configuration field conflict")),
|
|
2046
|
+
preferBuiltinFeature: pipe(optional(boolean()), description("Whether to emit warning when detecting prefer builtin feature"))
|
|
2042
2047
|
});
|
|
2043
2048
|
const MinifyOptionsSchema = strictObject({
|
|
2044
2049
|
mangle: optional(boolean()),
|
|
@@ -2056,7 +2061,6 @@ const ResolveOptionsSchema = strictObject({
|
|
|
2056
2061
|
mainFiles: optional(array(string())),
|
|
2057
2062
|
modules: optional(array(string())),
|
|
2058
2063
|
symlinks: optional(boolean()),
|
|
2059
|
-
tsconfigFilename: optional(string()),
|
|
2060
2064
|
yarnPnp: optional(boolean())
|
|
2061
2065
|
});
|
|
2062
2066
|
const TreeshakingOptionsSchema = union([boolean(), looseObject({
|
|
@@ -2091,11 +2095,11 @@ const InputOptionsSchema = strictObject({
|
|
|
2091
2095
|
literal("browser"),
|
|
2092
2096
|
literal("neutral"),
|
|
2093
2097
|
literal("node")
|
|
2094
|
-
])), description(`Platform for which the code should be generated (node, ${
|
|
2098
|
+
])), description(`Platform for which the code should be generated (node, ${ansis_default.underline("browser")}, neutral)`)),
|
|
2095
2099
|
shimMissingExports: pipe(optional(boolean()), description("Create shim variables for missing exports")),
|
|
2096
2100
|
treeshake: optional(TreeshakingOptionsSchema),
|
|
2097
2101
|
optimization: optional(OptimizationOptionsSchema),
|
|
2098
|
-
logLevel: pipe(optional(LogLevelOptionSchema), description(`Log level (${
|
|
2102
|
+
logLevel: pipe(optional(LogLevelOptionSchema), description(`Log level (${ansis_default.dim("silent")}, ${ansis_default.underline(ansis_default.gray("info"))}, debug, ${ansis_default.yellow("warn")})`)),
|
|
2099
2103
|
onLog: optional(OnLogSchema),
|
|
2100
2104
|
onwarn: optional(OnwarnSchema),
|
|
2101
2105
|
moduleTypes: pipe(optional(ModuleTypesSchema), description("Module types for customized extensions")),
|
|
@@ -2140,7 +2144,8 @@ const InputOptionsSchema = strictObject({
|
|
|
2140
2144
|
literal("allow-extension"),
|
|
2141
2145
|
literal("exports-only"),
|
|
2142
2146
|
literal(false)
|
|
2143
|
-
])))
|
|
2147
|
+
]))),
|
|
2148
|
+
tsconfig: pipe(optional(string()), description("Path to the tsconfig.json file."))
|
|
2144
2149
|
});
|
|
2145
2150
|
const InputCliOverrideSchema = strictObject({
|
|
2146
2151
|
input: pipe(optional(array(string())), description("Entry file")),
|
|
@@ -2213,18 +2218,18 @@ const OutputOptionsSchema = strictObject({
|
|
|
2213
2218
|
literal("named"),
|
|
2214
2219
|
literal("default"),
|
|
2215
2220
|
literal("none")
|
|
2216
|
-
])), description(`Specify a export mode (${
|
|
2221
|
+
])), description(`Specify a export mode (${ansis_default.underline("auto")}, named, default, none)`)),
|
|
2217
2222
|
hashCharacters: pipe(optional(union([
|
|
2218
2223
|
literal("base64"),
|
|
2219
2224
|
literal("base36"),
|
|
2220
2225
|
literal("hex")
|
|
2221
2226
|
])), description("Use the specified character set for file hashes")),
|
|
2222
|
-
format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${
|
|
2227
|
+
format: pipe(optional(ModuleFormatSchema), description(`Output format of the generated bundle (supports ${ansis_default.underline("esm")}, cjs, and iife)`)),
|
|
2223
2228
|
sourcemap: pipe(optional(union([
|
|
2224
2229
|
boolean(),
|
|
2225
2230
|
literal("inline"),
|
|
2226
2231
|
literal("hidden")
|
|
2227
|
-
])), description(`Generate sourcemap (\`-s inline\` for inline, or ${
|
|
2232
|
+
])), description(`Generate sourcemap (\`-s inline\` for inline, or ${ansis_default.bold("pass the `-s` on the last argument if you want to generate `.map` file")})`)),
|
|
2228
2233
|
sourcemapBaseUrl: pipe(optional(string()), description("Base URL used to prefix sourcemap paths")),
|
|
2229
2234
|
sourcemapDebugIds: pipe(optional(boolean()), description("Inject sourcemap debug IDs")),
|
|
2230
2235
|
sourcemapIgnoreList: optional(union([boolean(), custom(() => true)])),
|
|
@@ -2262,10 +2267,11 @@ const OutputOptionsSchema = strictObject({
|
|
|
2262
2267
|
preserveModules: pipe(optional(boolean()), description("Preserve module structure")),
|
|
2263
2268
|
preserveModulesRoot: pipe(optional(string()), description("Put preserved modules under this path at root level")),
|
|
2264
2269
|
virtualDirname: optional(string()),
|
|
2265
|
-
minifyInternalExports: pipe(optional(boolean()), description("Minify internal exports"))
|
|
2270
|
+
minifyInternalExports: pipe(optional(boolean()), description("Minify internal exports")),
|
|
2271
|
+
topLevelVar: pipe(optional(boolean()), description("Rewrite top-level declarations to use `var`."))
|
|
2266
2272
|
});
|
|
2267
2273
|
const getAddonDescription = (placement, wrapper) => {
|
|
2268
|
-
return `Code to insert the ${
|
|
2274
|
+
return `Code to insert the ${ansis_default.bold(placement)} of the bundled file (${ansis_default.bold(wrapper)} the wrapper function)`;
|
|
2269
2275
|
};
|
|
2270
2276
|
const OutputCliOverrideSchema = strictObject({
|
|
2271
2277
|
assetFileNames: pipe(optional(string()), description("Name pattern for asset files")),
|
|
@@ -2716,7 +2722,8 @@ var PluginContextImpl = class extends MinimalPluginContextImpl {
|
|
|
2716
2722
|
...res,
|
|
2717
2723
|
external: res.external === "relative" ? require_dist.unreachable(`The PluginContext resolve result external couldn't be 'relative'`) : res.external,
|
|
2718
2724
|
...info,
|
|
2719
|
-
moduleSideEffects: info.moduleSideEffects ?? res.moduleSideEffects ?? null
|
|
2725
|
+
moduleSideEffects: info.moduleSideEffects ?? res.moduleSideEffects ?? null,
|
|
2726
|
+
packageJsonPath: res.packageJsonPath
|
|
2720
2727
|
};
|
|
2721
2728
|
}
|
|
2722
2729
|
emitFile = (file) => {
|
|
@@ -2842,7 +2849,8 @@ function bindingifyResolveId(args$1) {
|
|
|
2842
2849
|
id: ret.id,
|
|
2843
2850
|
external: ret.external,
|
|
2844
2851
|
normalizeExternalId: false,
|
|
2845
|
-
moduleSideEffects: exist.moduleSideEffects ?? void 0
|
|
2852
|
+
moduleSideEffects: exist.moduleSideEffects ?? void 0,
|
|
2853
|
+
packageJsonPath: ret.packageJsonPath
|
|
2846
2854
|
};
|
|
2847
2855
|
},
|
|
2848
2856
|
meta: bindingifyPluginHookMeta(meta),
|
|
@@ -3768,7 +3776,13 @@ var NormalizedOutputOptionsImpl = class {
|
|
|
3768
3776
|
return this.outputOptions.sourcemapPathTransform;
|
|
3769
3777
|
}
|
|
3770
3778
|
get minify() {
|
|
3771
|
-
|
|
3779
|
+
let ret = this.inner.minify;
|
|
3780
|
+
if (typeof ret === "object" && ret !== null) {
|
|
3781
|
+
delete ret["codegen"];
|
|
3782
|
+
delete ret["module"];
|
|
3783
|
+
delete ret["sourcemap"];
|
|
3784
|
+
}
|
|
3785
|
+
return ret;
|
|
3772
3786
|
}
|
|
3773
3787
|
get legalComments() {
|
|
3774
3788
|
return this.inner.legalComments;
|
|
@@ -3952,7 +3966,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
|
|
|
3952
3966
|
markModuleLoaded: pluginContextData.markModuleLoaded.bind(pluginContextData),
|
|
3953
3967
|
preserveEntrySignatures: bindingifyPreserveEntrySignatures(inputOptions.preserveEntrySignatures),
|
|
3954
3968
|
optimization: inputOptions.optimization,
|
|
3955
|
-
context: inputOptions.context
|
|
3969
|
+
context: inputOptions.context,
|
|
3970
|
+
tsconfig: inputOptions.tsconfig
|
|
3956
3971
|
};
|
|
3957
3972
|
}
|
|
3958
3973
|
function bindingifyHmr(hmr) {
|
|
@@ -4535,6 +4550,12 @@ Object.defineProperty(exports, 'VERSION', {
|
|
|
4535
4550
|
return VERSION;
|
|
4536
4551
|
}
|
|
4537
4552
|
});
|
|
4553
|
+
Object.defineProperty(exports, 'ansis_default', {
|
|
4554
|
+
enumerable: true,
|
|
4555
|
+
get: function () {
|
|
4556
|
+
return ansis_default;
|
|
4557
|
+
}
|
|
4558
|
+
});
|
|
4538
4559
|
Object.defineProperty(exports, 'assetPlugin', {
|
|
4539
4560
|
enumerable: true,
|
|
4540
4561
|
get: function () {
|
|
@@ -4565,6 +4586,12 @@ Object.defineProperty(exports, 'createBundlerImpl', {
|
|
|
4565
4586
|
return createBundlerImpl;
|
|
4566
4587
|
}
|
|
4567
4588
|
});
|
|
4589
|
+
Object.defineProperty(exports, 'createBundlerOptions', {
|
|
4590
|
+
enumerable: true,
|
|
4591
|
+
get: function () {
|
|
4592
|
+
return createBundlerOptions;
|
|
4593
|
+
}
|
|
4594
|
+
});
|
|
4568
4595
|
Object.defineProperty(exports, 'defineConfig', {
|
|
4569
4596
|
enumerable: true,
|
|
4570
4597
|
get: function () {
|
|
@@ -4583,6 +4610,12 @@ Object.defineProperty(exports, 'dynamicImportVarsPlugin', {
|
|
|
4583
4610
|
return dynamicImportVarsPlugin;
|
|
4584
4611
|
}
|
|
4585
4612
|
});
|
|
4613
|
+
Object.defineProperty(exports, 'esmExternalRequirePlugin', {
|
|
4614
|
+
enumerable: true,
|
|
4615
|
+
get: function () {
|
|
4616
|
+
return esmExternalRequirePlugin;
|
|
4617
|
+
}
|
|
4618
|
+
});
|
|
4586
4619
|
Object.defineProperty(exports, 'getInputCliKeys', {
|
|
4587
4620
|
enumerable: true,
|
|
4588
4621
|
get: function () {
|
|
@@ -4613,12 +4646,6 @@ Object.defineProperty(exports, 'importGlobPlugin', {
|
|
|
4613
4646
|
return importGlobPlugin;
|
|
4614
4647
|
}
|
|
4615
4648
|
});
|
|
4616
|
-
Object.defineProperty(exports, 'import_ansis', {
|
|
4617
|
-
enumerable: true,
|
|
4618
|
-
get: function () {
|
|
4619
|
-
return import_ansis;
|
|
4620
|
-
}
|
|
4621
|
-
});
|
|
4622
4649
|
Object.defineProperty(exports, 'isolatedDeclarationPlugin', {
|
|
4623
4650
|
enumerable: true,
|
|
4624
4651
|
get: function () {
|