rolldown 1.0.0-beta.52 → 1.0.0-beta.54
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-setup.mjs +1 -1
- package/dist/cli.mjs +11 -12
- package/dist/config.d.mts +2 -3
- package/dist/config.mjs +7 -9
- package/dist/experimental-index.d.mts +23 -12
- package/dist/experimental-index.mjs +28 -17
- package/dist/filter-index.d.mts +2 -3
- package/dist/index.d.mts +3 -4
- package/dist/index.mjs +7 -9
- package/dist/parallel-plugin-worker.mjs +4 -6
- package/dist/parallel-plugin.d.mts +2 -3
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -3
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +3 -5
- package/dist/shared/{binding-kg77KQCQ.mjs → binding-BgawCXFG.mjs} +26 -26
- package/dist/shared/{binding-BKL2JHoJ.d.mts → binding-yIBVkeOE.d.mts} +107 -21
- package/dist/shared/{bindingify-input-options-6nBAYjYP.mjs → bindingify-input-options-DvsExmEF.mjs} +22 -9
- package/dist/shared/constructors-BgO0Ou3T.d.mts +30 -0
- package/dist/shared/{constructors-CwAnOHmv.mjs → constructors-DqAPGbqJ.mjs} +9 -10
- package/dist/shared/{define-config-9CiSl0uo.d.mts → define-config-COJu-A7R.d.mts} +78 -5
- package/dist/shared/{load-config-DS8fzWF9.mjs → load-config--qXpT-nH.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-VlPkMWXA.mjs → normalize-string-or-regex-CF1OWLn9.mjs} +44 -5
- package/dist/shared/{parse-ast-index-C44ewaWh.mjs → parse-ast-index-DeJDe-DO.mjs} +2 -2
- package/dist/shared/{rolldown-CpwN72kC.mjs → rolldown-BsTgRBvz.mjs} +1 -1
- package/dist/shared/{rolldown-build-D2CkFbcq.mjs → rolldown-build-DtYoS8Tq.mjs} +337 -190
- package/dist/shared/{watch-BWN40jw1.mjs → watch-CfGzq0YA.mjs} +17 -5
- package/package.json +20 -22
- package/dist/shared/constructors-BvaMwihu.d.mts +0 -32
- package/dist/shared/utils-DKydZ4iH.d.mts +0 -62
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-CF1OWLn9.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/builtin-plugin/constructors.ts
|
|
4
4
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
@@ -17,9 +17,6 @@ function viteImportGlobPlugin(config) {
|
|
|
17
17
|
function viteReporterPlugin(config) {
|
|
18
18
|
return new BuiltinPlugin("builtin:vite-reporter", config);
|
|
19
19
|
}
|
|
20
|
-
function viteManifestPlugin(config) {
|
|
21
|
-
return new BuiltinPlugin("builtin:vite-manifest", config);
|
|
22
|
-
}
|
|
23
20
|
function viteWasmHelperPlugin(config) {
|
|
24
21
|
return new BuiltinPlugin("builtin:vite-wasm-helper", config);
|
|
25
22
|
}
|
|
@@ -36,7 +33,10 @@ function viteBuildImportAnalysisPlugin(config) {
|
|
|
36
33
|
return new BuiltinPlugin("builtin:vite-build-import-analysis", config);
|
|
37
34
|
}
|
|
38
35
|
function viteResolvePlugin(config) {
|
|
39
|
-
return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-resolve",
|
|
36
|
+
return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-resolve", {
|
|
37
|
+
...config,
|
|
38
|
+
yarnPnp: typeof process === "object" && !!process.versions?.pnp
|
|
39
|
+
}));
|
|
40
40
|
}
|
|
41
41
|
function isolatedDeclarationPlugin(config) {
|
|
42
42
|
return new BuiltinPlugin("builtin:isolated-declaration", config);
|
|
@@ -45,7 +45,9 @@ function viteWebWorkerPostPlugin() {
|
|
|
45
45
|
return new BuiltinPlugin("builtin:vite-web-worker-post");
|
|
46
46
|
}
|
|
47
47
|
function esmExternalRequirePlugin(config) {
|
|
48
|
-
|
|
48
|
+
const plugin = new BuiltinPlugin("builtin:esm-external-require", config);
|
|
49
|
+
plugin.enforce = "pre";
|
|
50
|
+
return plugin;
|
|
49
51
|
}
|
|
50
52
|
function viteReactRefreshWrapperPlugin(config) {
|
|
51
53
|
if (config) {
|
|
@@ -54,9 +56,6 @@ function viteReactRefreshWrapperPlugin(config) {
|
|
|
54
56
|
}
|
|
55
57
|
return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-react-refresh-wrapper", config));
|
|
56
58
|
}
|
|
57
|
-
function viteCSSPostPlugin(config) {
|
|
58
|
-
return new BuiltinPlugin("builtin:vite-css-post", config);
|
|
59
|
-
}
|
|
60
59
|
function viteHtmlInlineProxyPlugin(config) {
|
|
61
60
|
return new BuiltinPlugin("builtin:vite-html-inline-proxy", config);
|
|
62
61
|
}
|
|
@@ -65,4 +64,4 @@ function viteAssetImportMetaUrlPlugin(config) {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
//#endregion
|
|
68
|
-
export {
|
|
67
|
+
export { viteDynamicImportVarsPlugin as a, viteJsonPlugin as c, viteReactRefreshWrapperPlugin as d, viteReporterPlugin as f, viteWebWorkerPostPlugin as g, viteWasmHelperPlugin as h, viteBuildImportAnalysisPlugin as i, viteLoadFallbackPlugin as l, viteWasmFallbackPlugin as m, isolatedDeclarationPlugin as n, viteHtmlInlineProxyPlugin as o, viteResolvePlugin as p, viteAssetImportMetaUrlPlugin as r, viteImportGlobPlugin as s, esmExternalRequirePlugin as t, viteModulePreloadPolyfillPlugin as u };
|
|
@@ -1,8 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as BindingWatcherBundler, B as ParserOptions, F as JsxOptions, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, W as TransformOptions$1, a as BindingHookResolveIdExtraArgs, d as BindingTransformHookExtraArgs, j as BindingWatcherEvent, l as BindingRenderedChunk, s as BindingMagicString } from "./binding-BKL2JHoJ.mjs";
|
|
1
|
+
import { A as BindingWatcherBundler, B as ParserOptions, F as JsxOptions, I as MinifyOptions$1, M as ExternalMemoryStatus, V as PreRenderedChunk, W as TransformOptions$1, a as BindingHookResolveIdExtraArgs, d as BindingTransformHookExtraArgs, j as BindingWatcherEvent, l as BindingRenderedChunk, s as BindingMagicString, t as BindingBuiltinPluginName } from "./binding-yIBVkeOE.mjs";
|
|
3
2
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
3
|
import { Program } from "@oxc-project/types";
|
|
5
4
|
|
|
5
|
+
//#region src/log/logging.d.ts
|
|
6
|
+
type LogLevel = "info" | "debug" | "warn";
|
|
7
|
+
type LogLevelOption = LogLevel | "silent";
|
|
8
|
+
type LogLevelWithError = LogLevel | "error";
|
|
9
|
+
interface RollupLog {
|
|
10
|
+
binding?: string;
|
|
11
|
+
cause?: unknown;
|
|
12
|
+
code?: string;
|
|
13
|
+
exporter?: string;
|
|
14
|
+
frame?: string;
|
|
15
|
+
hook?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
ids?: string[];
|
|
18
|
+
loc?: {
|
|
19
|
+
column: number;
|
|
20
|
+
file?: string;
|
|
21
|
+
line: number;
|
|
22
|
+
};
|
|
23
|
+
message: string;
|
|
24
|
+
meta?: any;
|
|
25
|
+
names?: string[];
|
|
26
|
+
plugin?: string;
|
|
27
|
+
pluginCode?: unknown;
|
|
28
|
+
pos?: number;
|
|
29
|
+
reexporter?: string;
|
|
30
|
+
stack?: string;
|
|
31
|
+
url?: string;
|
|
32
|
+
}
|
|
33
|
+
type RollupLogWithString = RollupLog | string;
|
|
34
|
+
interface RollupError extends RollupLog {
|
|
35
|
+
name?: string;
|
|
36
|
+
stack?: string;
|
|
37
|
+
watchFiles?: string[];
|
|
38
|
+
}
|
|
39
|
+
type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
|
|
40
|
+
//#endregion
|
|
6
41
|
//#region src/types/misc.d.ts
|
|
7
42
|
type SourcemapPathTransformOption = (relativeSourcePath: string, sourcemapPath: string) => string;
|
|
8
43
|
type SourcemapIgnoreListOption = (relativeSourcePath: string, sourcemapPath: string) => boolean;
|
|
@@ -144,6 +179,14 @@ interface RolldownOutput extends ExternalMemoryHandle {
|
|
|
144
179
|
output: [OutputChunk, ...(OutputChunk | OutputAsset)[]];
|
|
145
180
|
}
|
|
146
181
|
//#endregion
|
|
182
|
+
//#region src/types/utils.d.ts
|
|
183
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
184
|
+
type NullValue<T = void> = T | undefined | null | void;
|
|
185
|
+
type PartialNull<T> = { [P in keyof T]: T[P] | null };
|
|
186
|
+
type MakeAsync<Function_> = Function_ extends ((this: infer This, ...parameters: infer Arguments) => infer Return) ? (this: This, ...parameters: Arguments) => Return | Promise<Return> : never;
|
|
187
|
+
type MaybeArray<T> = T | T[];
|
|
188
|
+
type StringOrRegExp = string | RegExp;
|
|
189
|
+
//#endregion
|
|
147
190
|
//#region src/options/output-options.d.ts
|
|
148
191
|
type GeneratedCodePreset = "es5" | "es2015";
|
|
149
192
|
interface GeneratedCodeOptions {
|
|
@@ -666,10 +709,18 @@ type RolldownWatcher = WatcherEmitter;
|
|
|
666
709
|
//#region src/api/watch/index.d.ts
|
|
667
710
|
declare const watch: (input: WatchOptions | WatchOptions[]) => RolldownWatcher;
|
|
668
711
|
//#endregion
|
|
712
|
+
//#region src/log/log-handler.d.ts
|
|
713
|
+
type LoggingFunction = (log: RollupLog | string | (() => RollupLog | string)) => void;
|
|
714
|
+
type LoggingFunctionWithPosition = (log: RollupLog | string | (() => RollupLog | string), pos?: number | {
|
|
715
|
+
column: number;
|
|
716
|
+
line: number;
|
|
717
|
+
}) => void;
|
|
718
|
+
type WarningHandlerWithDefault = (warning: RollupLog, defaultHandler: LoggingFunction) => void;
|
|
719
|
+
//#endregion
|
|
669
720
|
//#region src/options/normalized-input-options.d.ts
|
|
670
721
|
interface NormalizedInputOptions {
|
|
671
722
|
input: string[] | Record<string, string>;
|
|
672
|
-
cwd: string
|
|
723
|
+
cwd: string;
|
|
673
724
|
platform: InputOptions["platform"];
|
|
674
725
|
shimMissingExports: boolean;
|
|
675
726
|
context: string;
|
|
@@ -867,7 +918,15 @@ interface EmittedChunk {
|
|
|
867
918
|
id: string;
|
|
868
919
|
importer?: string;
|
|
869
920
|
}
|
|
870
|
-
|
|
921
|
+
interface EmittedPrebuiltChunk {
|
|
922
|
+
type: "prebuilt-chunk";
|
|
923
|
+
fileName: string;
|
|
924
|
+
code: string;
|
|
925
|
+
exports?: string[];
|
|
926
|
+
map?: SourceMap;
|
|
927
|
+
sourcemapFileName?: string;
|
|
928
|
+
}
|
|
929
|
+
type EmittedFile = EmittedAsset | EmittedChunk | EmittedPrebuiltChunk;
|
|
871
930
|
interface PluginContextResolveOptions {
|
|
872
931
|
isEntry?: boolean;
|
|
873
932
|
skipSelf?: boolean;
|
|
@@ -942,6 +1001,15 @@ type SourceMapInput = ExistingRawSourceMap | string | null;
|
|
|
942
1001
|
//#region src/version.d.ts
|
|
943
1002
|
declare const VERSION: string;
|
|
944
1003
|
//#endregion
|
|
1004
|
+
//#region src/builtin-plugin/utils.d.ts
|
|
1005
|
+
declare class BuiltinPlugin {
|
|
1006
|
+
name: BindingBuiltinPluginName;
|
|
1007
|
+
_options?: unknown;
|
|
1008
|
+
/** Vite-specific option to control plugin ordering */
|
|
1009
|
+
enforce?: "pre" | "post";
|
|
1010
|
+
constructor(name: BindingBuiltinPluginName, _options?: unknown);
|
|
1011
|
+
}
|
|
1012
|
+
//#endregion
|
|
945
1013
|
//#region src/constants/plugin.d.ts
|
|
946
1014
|
declare const ENUMERATED_INPUT_PLUGIN_HOOK_NAMES: readonly ["options", "buildStart", "resolveId", "load", "transform", "moduleParsed", "buildEnd", "onLog", "resolveDynamicImport", "closeBundle", "closeWatcher", "watchChange"];
|
|
947
1015
|
declare const ENUMERATED_OUTPUT_PLUGIN_HOOK_NAMES: readonly ["augmentChunkHash", "outputOptions", "renderChunk", "renderStart", "renderError", "writeBundle", "generateBundle"];
|
|
@@ -1174,6 +1242,11 @@ interface ChecksOptions {
|
|
|
1174
1242
|
* @default true
|
|
1175
1243
|
*/
|
|
1176
1244
|
couldNotCleanDirectory?: boolean;
|
|
1245
|
+
/**
|
|
1246
|
+
* Whether to emit warning when detecting plugin timings
|
|
1247
|
+
* @default true
|
|
1248
|
+
*/
|
|
1249
|
+
pluginTimings?: boolean;
|
|
1177
1250
|
}
|
|
1178
1251
|
//#endregion
|
|
1179
1252
|
//#region src/options/transform-options.d.ts
|
|
@@ -1618,4 +1691,4 @@ declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
|
|
|
1618
1691
|
declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
|
|
1619
1692
|
declare function defineConfig(config: ConfigExport): ConfigExport;
|
|
1620
1693
|
//#endregion
|
|
1621
|
-
export {
|
|
1694
|
+
export { RolldownFsModule as $, BuiltinPlugin as A, RolldownOutput as At, EmittedPrebuiltChunk as B, RollupLogWithString as Bt, ResolveIdResult as C, MaybePromise as Ct, SourceDescription as D, OutputChunk as Dt, RolldownPluginOption as E, OutputAsset as Et, OutputBundle as F, LogLevel as Ft, MinimalPluginContext as G, PluginContext as H, TreeshakingOptions as I, LogLevelOption as It, HookFilter as J, PluginContextMeta as K, TransformPluginContext as L, LogOrStringHandler as Lt, ExistingRawSourceMap as M, freeExternalMemory as Mt, SourceMapInput as N, ModuleInfo as Nt, TransformResult as O, RenderedChunk as Ot, RolldownOptionsFunction as P, SourcemapIgnoreListOption as Pt, RolldownFileStats as Q, EmittedAsset as R, RollupError as Rt, ResolveIdExtraOptions as S, PreRenderedAsset as St, RolldownPlugin as T, StringOrRegExp as Tt, DefineParallelPluginResult as U, GetModuleInfo as V, defineParallelPlugin as W, BufferEncoding as X, ModuleTypeFilter as Y, RolldownDirectoryEntry as Z, ModuleType as _, GeneratedCodePreset as _t, InputOption as a, watch as at, PartialResolvedId as b, ModuleFormat as bt, OptimizationOptions as c, WatchOptions as ct, CustomPluginOptions as d, BuildOptions as dt, InternalModuleFormat as et, FunctionPluginHooks as f, build as ft, ModuleOptions as g, GeneratedCodeOptions as gt, LoadResult as h, ChunkingContext as ht, ExternalOption as i, WarningHandlerWithDefault as it, VERSION as j, SourceMap as jt, withFilter as k, RenderedModule as kt, WatcherOptions as l, rolldown as lt, ImportKind as m, ChunkFileNamesFunction as mt, ConfigExport as n, NormalizedInputOptions as nt, InputOptions as o, RolldownWatcher as ot, HookFilterExtension as p, AddonFunction as pt, GeneralHookFilter as q, RolldownOptions as r, LoggingFunction as rt, ModuleTypes as s, RolldownWatcherEvent as st, defineConfig as t, NormalizedOutputOptions as tt, AsyncPluginHooks as u, RolldownBuild as ut, ObjectHook as v, GlobalsFunction as vt, ResolvedId as w, PartialNull as wt, Plugin as x, OutputOptions as xt, ParallelPluginHooks as y, MinifyOptions as yt, EmittedFile as z, RollupLog as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as require_binding } from "./binding-
|
|
1
|
+
import { t as require_binding } from "./binding-BgawCXFG.mjs";
|
|
2
2
|
import { a as logInvalidLogPosition, c as logPluginError, n as error } from "./logs-CSQ_UMWp.mjs";
|
|
3
3
|
import { r as noop } from "./misc-CxyvWjTr.mjs";
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
|
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region package.json
|
|
35
|
-
var version = "1.0.0-beta.
|
|
35
|
+
var version = "1.0.0-beta.54";
|
|
36
36
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
@@ -190,7 +190,7 @@ function bindingAssetSource(source) {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
//#endregion
|
|
193
|
-
//#region \0@oxc-project+runtime@0.
|
|
193
|
+
//#region \0@oxc-project+runtime@0.102.0/helpers/decorate.js
|
|
194
194
|
function __decorate(decorators, target, key, desc) {
|
|
195
195
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
196
196
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -558,6 +558,8 @@ function collectChangedBundle(changed, bundle) {
|
|
|
558
558
|
//#region src/builtin-plugin/utils.ts
|
|
559
559
|
var import_binding = require_binding();
|
|
560
560
|
var BuiltinPlugin = class {
|
|
561
|
+
/** Vite-specific option to control plugin ordering */
|
|
562
|
+
enforce;
|
|
561
563
|
constructor(name, _options) {
|
|
562
564
|
this.name = name;
|
|
563
565
|
this._options = _options;
|
|
@@ -585,7 +587,36 @@ function bindingifyBuiltInPlugin(plugin) {
|
|
|
585
587
|
options: plugin._options
|
|
586
588
|
};
|
|
587
589
|
}
|
|
588
|
-
function
|
|
590
|
+
function bindingifyManifestPlugin(plugin, pluginContextData) {
|
|
591
|
+
const { isOutputOptionsForLegacyChunks, ...options } = plugin._options;
|
|
592
|
+
return {
|
|
593
|
+
__name: plugin.name,
|
|
594
|
+
options: {
|
|
595
|
+
...options,
|
|
596
|
+
isLegacy: isOutputOptionsForLegacyChunks ? (opts) => {
|
|
597
|
+
return isOutputOptionsForLegacyChunks(pluginContextData.getOutputOptions(opts));
|
|
598
|
+
} : void 0
|
|
599
|
+
}
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
function bindingifyCSSPostPlugin(plugin, pluginContextData) {
|
|
603
|
+
const { isOutputOptionsForLegacyChunks, ...options } = plugin._options;
|
|
604
|
+
return {
|
|
605
|
+
__name: plugin.name,
|
|
606
|
+
options: {
|
|
607
|
+
...options,
|
|
608
|
+
isLegacy: isOutputOptionsForLegacyChunks ? (opts) => {
|
|
609
|
+
return isOutputOptionsForLegacyChunks(pluginContextData.getOutputOptions(opts));
|
|
610
|
+
} : void 0,
|
|
611
|
+
cssScopeTo() {
|
|
612
|
+
const cssScopeTo = {};
|
|
613
|
+
for (const [id, opts] of pluginContextData.moduleOptionMap.entries()) if (opts?.meta.vite?.cssScopeTo) cssScopeTo[id] = opts.meta.vite.cssScopeTo;
|
|
614
|
+
return cssScopeTo;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
function bindingifyViteHtmlPlugin(plugin, onLog, logLevel, watchMode, pluginContextData) {
|
|
589
620
|
const { preHooks, normalHooks, postHooks, applyHtmlTransforms, ...options } = plugin._options;
|
|
590
621
|
if (preHooks.length + normalHooks.length + postHooks.length > 0) return {
|
|
591
622
|
__name: plugin.name,
|
|
@@ -606,6 +637,14 @@ function bindingifyViteHtmlPlugin(plugin, onLog, logLevel, watchMode) {
|
|
|
606
637
|
case "transform": return await applyHtmlTransforms(html, preHooks, pluginContext, context);
|
|
607
638
|
case "generateBundle": return await applyHtmlTransforms(html, [...normalHooks, ...postHooks], pluginContext, context);
|
|
608
639
|
}
|
|
640
|
+
},
|
|
641
|
+
setModuleSideEffects(id) {
|
|
642
|
+
let opts = pluginContextData.getModuleOption(id);
|
|
643
|
+
pluginContextData.updateModuleOption(id, {
|
|
644
|
+
moduleSideEffects: true,
|
|
645
|
+
meta: opts.meta,
|
|
646
|
+
invalidate: true
|
|
647
|
+
});
|
|
609
648
|
}
|
|
610
649
|
}
|
|
611
650
|
};
|
|
@@ -627,4 +666,4 @@ function isReadonlyArray(input) {
|
|
|
627
666
|
}
|
|
628
667
|
|
|
629
668
|
//#endregion
|
|
630
|
-
export {
|
|
669
|
+
export { LOG_LEVEL_DEBUG as C, logLevelPriority as D, LOG_LEVEL_WARN as E, normalizeLog as S, LOG_LEVEL_INFO as T, PlainObjectLike as _, bindingifyManifestPlugin as a, description as b, collectChangedBundle as c, bindingifySourcemap as d, transformRenderedChunk as f, lazyProp as g, transformAssetSource as h, bindingifyCSSPostPlugin as i, transformToOutputBundle as l, bindingAssetSource as m, BuiltinPlugin as n, bindingifyViteHtmlPlugin as o, __decorate as p, bindingifyBuiltInPlugin as r, makeBuiltinPluginCallable as s, normalizedStringOrRegex as t, transformToRollupOutput as u, MinimalPluginContextImpl as v, LOG_LEVEL_ERROR as w, version as x, VERSION as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as require_binding } from "./binding-
|
|
1
|
+
import { t as require_binding } from "./binding-BgawCXFG.mjs";
|
|
2
2
|
import { l as locate, n as error, s as logParseError, u as getCodeFrame } from "./logs-CSQ_UMWp.mjs";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
4
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.102.0/node_modules/oxc-parser/src-js/wrap.js
|
|
5
5
|
function wrap$1(result) {
|
|
6
6
|
let program, module, comments, errors;
|
|
7
7
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-
|
|
1
|
+
import { l as PluginDriver, s as validateOption, t as RolldownBuild } from "./rolldown-build-DtYoS8Tq.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/api/rolldown/index.ts
|
|
4
4
|
const rolldown = async (input) => {
|