@rolldown/browser 1.0.0-rc.13 → 1.0.0-rc.15
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.mjs +6 -6
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +2 -2
- package/dist/{error-D_M_TRRS.js → error-DJs8b3WW.js} +1 -1
- package/dist/experimental-index.browser.mjs +3 -3
- package/dist/experimental-index.d.mts +5 -5
- package/dist/experimental-index.mjs +3 -3
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.browser.mjs +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -3
- package/dist/parallel-plugin-worker.mjs +1 -1
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/plugins-index.d.mts +3 -3
- package/dist/{resolve-tsconfig-YM52CJsk.js → resolve-tsconfig-CeKKTyZM.js} +1 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/{rolldown-build-Bz6L_TNm.js → rolldown-build-COq5DwaJ.js} +6 -6
- package/dist/shared/{binding-ChYotyxN.d.mts → binding-ZnDS8vT0.d.mts} +1 -1
- package/dist/shared/{bindingify-input-options-Y2rQIZiC.mjs → bindingify-input-options-BAdogY5b.mjs} +5 -5
- package/dist/shared/{constructors-DFNu-pUS.d.mts → constructors-nS2X45yE.d.mts} +2 -2
- package/dist/shared/{define-config-r09Rqv1_.d.mts → define-config-DGsflQU7.d.mts} +2 -2
- package/dist/shared/{load-config-B52gTI_Z.mjs → load-config-BfS98Qsv.mjs} +1 -1
- package/dist/shared/{parse-C27hqfZ9.mjs → parse-BmK0RQzi.mjs} +1 -1
- package/dist/shared/{rolldown-build-YfCjCcGn.mjs → rolldown-build-CENnhnWn.mjs} +1 -1
- package/dist/shared/{rolldown-BjzKYYwB.mjs → rolldown-paK1AteK.mjs} +1 -1
- package/dist/shared/{transform-CcdA4xZ5.d.mts → transform-Dd-_yDYG.d.mts} +1 -1
- package/dist/shared/{utils-C4hvMCOQ.d.mts → utils-B9dwRBJP.d.mts} +1 -1
- package/dist/shared/{watch-BeG0KBxY.mjs → watch-CLJyTbAH.mjs} +2 -2
- package/dist/utils-index.browser.mjs +5 -5
- package/dist/utils-index.d.mts +4 -1303
- package/dist/utils-index.mjs +4 -4
- package/package.json +4 -4
package/dist/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { C as version, S as description } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-CLJyTbAH.mjs";
|
|
2
|
+
import { C as version, S as description } from "./shared/bindingify-input-options-BAdogY5b.mjs";
|
|
3
3
|
import { h as arraify } from "./shared/composable-filters-B2ByPP8y.mjs";
|
|
4
|
-
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-CENnhnWn.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-paK1AteK.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-BfS98Qsv.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
|
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
|
-
//#region \0@oxc-project+runtime@0.
|
|
850
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/usingCtx.js
|
|
851
851
|
function _usingCtx() {
|
|
852
852
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
853
853
|
var n = Error();
|
package/dist/config.d.mts
CHANGED
package/dist/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as VERSION } from "./shared/bindingify-input-options-
|
|
1
|
+
import { x as VERSION } from "./shared/bindingify-input-options-BAdogY5b.mjs";
|
|
2
2
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-BfS98Qsv.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -14,7 +14,7 @@ function bindingifySourcemap(map) {
|
|
|
14
14
|
} };
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
17
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/wrap.js
|
|
18
18
|
function wrap(result) {
|
|
19
19
|
let program, module, comments, errors;
|
|
20
20
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Db8ibFkp.js";
|
|
2
|
-
import { a as validateOption, i as transformToRollupOutput, n as createBundlerOptions, o as PluginDriver, t as RolldownBuild } from "./rolldown-build-
|
|
3
|
-
import { a as parse$2, i as unwrapBindingResult, o as parseSync$2, r as normalizeBindingResult } from "./error-
|
|
2
|
+
import { a as validateOption, i as transformToRollupOutput, n as createBundlerOptions, o as PluginDriver, t as RolldownBuild } from "./rolldown-build-COq5DwaJ.js";
|
|
3
|
+
import { a as parse$2, i as unwrapBindingResult, o as parseSync$2, r as normalizeBindingResult } from "./error-DJs8b3WW.js";
|
|
4
4
|
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./constructors-LtcP0f-6.js";
|
|
5
|
-
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./resolve-tsconfig-
|
|
5
|
+
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./resolve-tsconfig-CeKKTyZM.js";
|
|
6
6
|
import * as binding from "./rolldown-binding.wasi-browser.js";
|
|
7
7
|
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
8
8
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-
|
|
2
|
-
import { c as InputOptions, cn as freeExternalMemory, en as OutputOptions, on as RolldownOutput, pt as defineParallelPlugin, wt as NormalizedOutputOptions } from "./shared/define-config-
|
|
3
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
4
|
-
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-
|
|
5
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
1
|
+
import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-ZnDS8vT0.mjs";
|
|
2
|
+
import { c as InputOptions, cn as freeExternalMemory, en as OutputOptions, on as RolldownOutput, pt as defineParallelPlugin, wt as NormalizedOutputOptions } from "./shared/define-config-DGsflQU7.mjs";
|
|
3
|
+
import { t as BuiltinPlugin } from "./shared/utils-B9dwRBJP.mjs";
|
|
4
|
+
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-Dd-_yDYG.mjs";
|
|
5
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-nS2X45yE.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/api/dev/dev-options.d.ts
|
|
8
8
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-D0o84ejN.mjs";
|
|
2
|
-
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
3
|
-
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-
|
|
2
|
+
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BAdogY5b.mjs";
|
|
3
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CENnhnWn.mjs";
|
|
4
4
|
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-CQ6njWsV.mjs";
|
|
5
|
-
import { n as parseSync$2, t as parse$2 } from "./shared/parse-
|
|
5
|
+
import { n as parseSync$2, t as parse$2 } from "./shared/parse-BmK0RQzi.mjs";
|
|
6
6
|
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-BGLoUvKR.mjs";
|
|
7
7
|
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./shared/resolve-tsconfig-Cwoo4h_o.mjs";
|
|
8
8
|
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi.cjs";
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as exprInterpreter, F as QueryFilterObject, G as interpreterImpl, H as importerId, I as TopLevelFilterExpression, J as or, K as moduleType, L as and, M as withFilter, N as FilterExpression, P as FilterExpressionKind, R as code, U as include, V as id, W as interpreter, X as query, Y as queries, q as not, z as exclude } from "./shared/define-config-
|
|
1
|
+
import { B as exprInterpreter, F as QueryFilterObject, G as interpreterImpl, H as importerId, I as TopLevelFilterExpression, J as or, K as moduleType, L as and, M as withFilter, N as FilterExpression, P as FilterExpressionKind, R as code, U as include, V as id, W as interpreter, X as query, Y as queries, q as not, z as exclude } from "./shared/define-config-DGsflQU7.mjs";
|
|
2
2
|
|
|
3
3
|
//#region ../pluginutils/dist/filter/filter-vite-plugins.d.ts
|
|
4
4
|
/**
|
package/dist/index.browser.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as logMultipleWatcherOption } from "./normalize-string-or-regex-Db8ibFkp.js";
|
|
2
|
-
import { a as validateOption, c as arraify, l as RUNTIME_MODULE_ID, n as createBundlerOptions, o as PluginDriver, r as RolldownMagicString, s as LOG_LEVEL_WARN, t as RolldownBuild, u as VERSION } from "./rolldown-build-
|
|
3
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
2
|
+
import { a as validateOption, c as arraify, l as RUNTIME_MODULE_ID, n as createBundlerOptions, o as PluginDriver, r as RolldownMagicString, s as LOG_LEVEL_WARN, t as RolldownBuild, u as VERSION } from "./rolldown-build-COq5DwaJ.js";
|
|
3
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-DJs8b3WW.js";
|
|
4
4
|
import { BindingWatcher, shutdownAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
5
5
|
//#region src/api/rolldown/index.ts
|
|
6
6
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as PreRenderedChunk } from "./shared/binding-
|
|
1
|
+
import { z as PreRenderedChunk } from "./shared/binding-ZnDS8vT0.mjs";
|
|
2
2
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-C6h4g8dA.mjs";
|
|
3
|
-
import { $ as BundleError, $t as ModuleFormat, A as SourceDescription, At as RolldownMagicString, Bt as AddonFunction, C as PartialResolvedId, Ct as InternalModuleFormat, D as ResolvedId, Dt as ChecksOptions, E as ResolveIdResult, Et as TransformOptions, Ft as WatchOptions, Gt as CodeSplittingGroup, Ht as AdvancedChunksOptions, It as rolldown, Jt as CommentsOptions, Kt as CodeSplittingNameFunction, Lt as RolldownBuild, Mt as RolldownWatcher, Nt as RolldownWatcherEvent, O as RolldownPlugin, Ot as LoggingFunction, Pt as RolldownWatcherWatcherEventMap, Q as VERSION, Qt as MinifyOptions, Rt as BuildOptions, S as ParallelPluginHooks, St as RolldownFsModule, T as ResolveIdExtraOptions, Tt as NormalizedInputOptions, Ut as ChunkFileNamesFunction, Vt as AdvancedChunksGroup, Wt as ChunkingContext, Xt as GeneratedCodePreset, Yt as GeneratedCodeOptions, Z as RUNTIME_MODULE_ID, Zt as GlobalsFunction, _ as ImportKind, _t as HookFilter, a as ExternalOption, an as RenderedModule, at as EmittedAsset, b as ModuleType, bt as RolldownDirectoryEntry, c as InputOptions, ct as EmittedPrebuiltChunk, d as WatcherFileWatcherOptions, dt as PluginContextResolveOptions, en as OutputOptions, et as ExistingRawSourceMap, f as WatcherOptions, ft as DefineParallelPluginResult, g as HookFilterExtension, gt as GeneralHookFilter, h as FunctionPluginHooks, ht as PluginContextMeta, i as RolldownOptions, in as RenderedChunk, it as TransformPluginContext, j as TransformResult, jt as watch, k as RolldownPluginOption, kt as WarningHandlerWithDefault, l as ModuleTypes, ln as ModuleInfo, lt as GetModuleInfo, m as CustomPluginOptions, mt as MinimalPluginContext, n as RolldownOptionsFunction, nn as OutputAsset, nt as OutputBundle, o as ExternalOptionFunction, on as RolldownOutput, ot as EmittedChunk, p as AsyncPluginHooks, qt as CodeSplittingOptions, r as defineConfig, rn as OutputChunk, rt as TreeshakingOptions, s as InputOption, sn as SourceMap, st as EmittedFile, t as ConfigExport, tn as PreRenderedAsset, tt as SourceMapInput, u as OptimizationOptions, un as SourcemapIgnoreListOption, ut as PluginContext, v as LoadResult, vt as ModuleTypeFilter, w as Plugin, wt as NormalizedOutputOptions, x as ObjectHook, xt as RolldownFileStats, y as ModuleOptions, yt as BufferEncoding, zt as build } from "./shared/define-config-
|
|
4
|
-
import { o as PartialNull } from "./shared/utils-
|
|
3
|
+
import { $ as BundleError, $t as ModuleFormat, A as SourceDescription, At as RolldownMagicString, Bt as AddonFunction, C as PartialResolvedId, Ct as InternalModuleFormat, D as ResolvedId, Dt as ChecksOptions, E as ResolveIdResult, Et as TransformOptions, Ft as WatchOptions, Gt as CodeSplittingGroup, Ht as AdvancedChunksOptions, It as rolldown, Jt as CommentsOptions, Kt as CodeSplittingNameFunction, Lt as RolldownBuild, Mt as RolldownWatcher, Nt as RolldownWatcherEvent, O as RolldownPlugin, Ot as LoggingFunction, Pt as RolldownWatcherWatcherEventMap, Q as VERSION, Qt as MinifyOptions, Rt as BuildOptions, S as ParallelPluginHooks, St as RolldownFsModule, T as ResolveIdExtraOptions, Tt as NormalizedInputOptions, Ut as ChunkFileNamesFunction, Vt as AdvancedChunksGroup, Wt as ChunkingContext, Xt as GeneratedCodePreset, Yt as GeneratedCodeOptions, Z as RUNTIME_MODULE_ID, Zt as GlobalsFunction, _ as ImportKind, _t as HookFilter, a as ExternalOption, an as RenderedModule, at as EmittedAsset, b as ModuleType, bt as RolldownDirectoryEntry, c as InputOptions, ct as EmittedPrebuiltChunk, d as WatcherFileWatcherOptions, dt as PluginContextResolveOptions, en as OutputOptions, et as ExistingRawSourceMap, f as WatcherOptions, ft as DefineParallelPluginResult, g as HookFilterExtension, gt as GeneralHookFilter, h as FunctionPluginHooks, ht as PluginContextMeta, i as RolldownOptions, in as RenderedChunk, it as TransformPluginContext, j as TransformResult, jt as watch, k as RolldownPluginOption, kt as WarningHandlerWithDefault, l as ModuleTypes, ln as ModuleInfo, lt as GetModuleInfo, m as CustomPluginOptions, mt as MinimalPluginContext, n as RolldownOptionsFunction, nn as OutputAsset, nt as OutputBundle, o as ExternalOptionFunction, on as RolldownOutput, ot as EmittedChunk, p as AsyncPluginHooks, qt as CodeSplittingOptions, r as defineConfig, rn as OutputChunk, rt as TreeshakingOptions, s as InputOption, sn as SourceMap, st as EmittedFile, t as ConfigExport, tn as PreRenderedAsset, tt as SourceMapInput, u as OptimizationOptions, un as SourcemapIgnoreListOption, ut as PluginContext, v as LoadResult, vt as ModuleTypeFilter, w as Plugin, wt as NormalizedOutputOptions, x as ObjectHook, xt as RolldownFileStats, y as ModuleOptions, yt as BufferEncoding, zt as build } from "./shared/define-config-DGsflQU7.mjs";
|
|
4
|
+
import { o as PartialNull } from "./shared/utils-B9dwRBJP.mjs";
|
|
5
5
|
export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BufferEncoding, BuildOptions, BundleError, ChecksOptions, ChunkFileNamesFunction, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, CommentsOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedChunk, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PluginContextResolveOptions, PreRenderedAsset, PreRenderedChunk, RUNTIME_MODULE_ID, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownError, RolldownError as RollupError, RolldownFileStats, RolldownFsModule, RolldownLog, RolldownLog as RollupLog, RolldownLogWithString, RolldownLogWithString as RollupLogWithString, RolldownMagicString, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RolldownWatcherWatcherEventMap, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherFileWatcherOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-
|
|
3
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-CLJyTbAH.mjs";
|
|
2
|
+
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BAdogY5b.mjs";
|
|
3
|
+
import { t as rolldown } from "./shared/rolldown-paK1AteK.mjs";
|
|
4
4
|
import { t as defineConfig } from "./shared/define-config-DJOr6Iwt.mjs";
|
|
5
5
|
import { isMainThread } from "node:worker_threads";
|
|
6
6
|
import { initTraceSubscriber } from "./rolldown-binding.wasi.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BAdogY5b.mjs";
|
|
2
2
|
import { parentPort, workerData } from "node:worker_threads";
|
|
3
3
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
4
4
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as Plugin } from "./shared/define-config-
|
|
2
|
-
import { i as MaybePromise } from "./shared/utils-
|
|
1
|
+
import { w as Plugin } from "./shared/define-config-DGsflQU7.mjs";
|
|
2
|
+
import { i as MaybePromise } from "./shared/utils-B9dwRBJP.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-BmK0RQzi.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as BindingReplacePluginConfig } from "./shared/binding-
|
|
2
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { m as BindingReplacePluginConfig } from "./shared/binding-ZnDS8vT0.mjs";
|
|
2
|
+
import { t as BuiltinPlugin } from "./shared/utils-B9dwRBJP.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-nS2X45yE.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeBindingError, s as bindingifySourcemap } from "./error-
|
|
1
|
+
import { n as normalizeBindingError, s as bindingifySourcemap } from "./error-DJs8b3WW.js";
|
|
2
2
|
import { TsconfigCache, collapseSourcemaps, enhancedTransform, enhancedTransformSync, minify, minifySync, resolveTsconfig } from "./rolldown-binding.wasi-browser.js";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
/**
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as logCycleLoading, f as logNoFileSystemInBrowser, g as getCodeFrame, h as locate, i as bindingifyManifestPlugin, l as logInputHookInOutputPlugin, m as logPluginError, n as BuiltinPlugin, o as augmentCodeLocation, p as logParseError, r as bindingifyBuiltInPlugin, s as error, t as normalizedStringOrRegex, u as logInvalidLogPosition } from "./normalize-string-or-regex-Db8ibFkp.js";
|
|
2
|
-
import { i as unwrapBindingResult, o as parseSync$1, s as bindingifySourcemap$1, t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
2
|
+
import { i as unwrapBindingResult, o as parseSync$1, s as bindingifySourcemap$1, t as aggregateBindingErrorsIntoJsError } from "./error-DJs8b3WW.js";
|
|
3
3
|
import { BindingAttachDebugInfo, BindingBundler, BindingChunkModuleOrderBy, BindingLogLevel, BindingMagicString, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
5
5
|
let _lazyMatch = () => {
|
|
@@ -454,7 +454,7 @@ const win32 = /* @__PURE__ */ mix(";");
|
|
|
454
454
|
*
|
|
455
455
|
* @category Plugin APIs
|
|
456
456
|
*/
|
|
457
|
-
const VERSION = "1.0.0-rc.
|
|
457
|
+
const VERSION = "1.0.0-rc.15";
|
|
458
458
|
//#endregion
|
|
459
459
|
//#region src/constants/index.ts
|
|
460
460
|
/**
|
|
@@ -2506,7 +2506,7 @@ function bindingAssetSource(source) {
|
|
|
2506
2506
|
return { inner: source };
|
|
2507
2507
|
}
|
|
2508
2508
|
//#endregion
|
|
2509
|
-
//#region \0@oxc-project+runtime@0.
|
|
2509
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorate.js
|
|
2510
2510
|
function __decorate(decorators, target, key, desc) {
|
|
2511
2511
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2512
2512
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3107,7 +3107,7 @@ function exclude(expr) {
|
|
|
3107
3107
|
return new Exclude(expr);
|
|
3108
3108
|
}
|
|
3109
3109
|
//#endregion
|
|
3110
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
3110
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
|
|
3111
3111
|
function e(e, t, n) {
|
|
3112
3112
|
let r = (n) => e(n, ...t);
|
|
3113
3113
|
return n === void 0 ? r : Object.assign(r, {
|
|
@@ -3116,7 +3116,7 @@ function e(e, t, n) {
|
|
|
3116
3116
|
});
|
|
3117
3117
|
}
|
|
3118
3118
|
//#endregion
|
|
3119
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
3119
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/purry.js
|
|
3120
3120
|
function t$1(t, n, r) {
|
|
3121
3121
|
let i = t.length - n.length;
|
|
3122
3122
|
if (i === 0) return t(...n);
|
|
@@ -3124,7 +3124,7 @@ function t$1(t, n, r) {
|
|
|
3124
3124
|
throw Error(`Wrong number of arguments`);
|
|
3125
3125
|
}
|
|
3126
3126
|
//#endregion
|
|
3127
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
3127
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/partition.js
|
|
3128
3128
|
function t(...t) {
|
|
3129
3129
|
return t$1(n, t);
|
|
3130
3130
|
}
|
|
@@ -3168,4 +3168,4 @@ interface ViteImportGlobMeta {
|
|
|
3168
3168
|
isSubImportsPattern?: boolean;
|
|
3169
3169
|
}
|
|
3170
3170
|
//#endregion
|
|
3171
|
-
export { ExternalMemoryStatus as A, ResolveResult as B, BindingViteManifestPluginConfig as C, BindingViteResolvePluginConfig as D, BindingViteReporterPluginConfig as E, MinifyResult as F, isolatedDeclaration as G, SourceMap as H, NapiResolveOptions as I,
|
|
3171
|
+
export { AssignmentPattern as $, TSInferType as $n, UpdateExpression as $r, JSXMemberExpression as $t, ExternalMemoryStatus as A, SwitchStatement as An, TSTupleType as Ar, ForStatement as At, ResolveResult as B, TSConstructorType as Bn, TSTypeQuery as Br, ImportNamespaceSpecifier as Bt, BindingViteManifestPluginConfig as C, ReturnStatement as Cn, TSRestType as Cr, ExportAllDeclaration as Ct, BindingViteResolvePluginConfig as D, StringLiteral as Dn, TSTemplateLiteralType as Dr, ExpressionStatement as Dt, BindingViteReporterPluginConfig as E, StaticBlock as En, TSSymbolKeyword as Er, ExportSpecifier as Et, MinifyResult as F, TSBooleanKeyword as Fn, TSTypeOperator as Fr, IfStatement as Ft, isolatedDeclaration as G, TSExternalModuleReference as Gn, TSVoidKeyword as Gr, JSXAttribute as Gt, SourceMap as H, TSEnumDeclaration as Hn, TSUndefinedKeyword as Hr, JSDocNonNullableType as Ht, NapiResolveOptions as I, TSCallSignatureDeclaration as In, TSTypeParameter as Ir, ImportAttribute as It, AccessorProperty as J, TSImportEqualsDeclaration as Jn, TemplateLiteral as Jr, JSXElement as Jt, isolatedDeclarationSync as K, TSFunctionType as Kn, TaggedTemplateExpression as Kr, JSXClosingElement as Kt, ParseResult as L, TSClassImplements as Ln, TSTypeParameterDeclaration as Lr, ImportDeclaration as Lt, IsolatedDeclarationsResult as M, TSArrayType as Mn, TSTypeAnnotation as Mr, Function as Mt, JsxOptions as N, TSAsExpression as Nn, TSTypeAssertion as Nr, IdentifierName as Nt, BindingViteTransformPluginConfig as O, Super as On, TSThisParameter as Or, ForInStatement as Ot, MinifyOptions as P, TSBigIntKeyword as Pn, TSTypeLiteral as Pr, IdentifierReference as Pt, AssignmentExpression as Q, TSIndexedAccessType as Qn, UnaryExpression as Qr, JSXIdentifier as Qt, ParserOptions as R, TSConditionalType as Rn, TSTypeParameterInstantiation as Rr, ImportDefaultSpecifier as Rt, BindingViteJsonPluginConfig as S, RegExpLiteral as Sn, TSQualifiedName as Sr, EmptyStatement as St, BindingViteReactRefreshWrapperPluginConfig as T, SpreadElement as Tn, TSStringKeyword as Tr, ExportNamedDeclaration as Tt, TransformOptions as U, TSEnumMember as Un, TSUnionType as Ur, JSDocNullableType as Ut, ResolverFactory as V, TSEnumBody as Vn, TSTypeReference as Vr, ImportSpecifier as Vt, TsconfigCache as W, TSExportAssignment as Wn, TSUnknownKeyword as Wr, JSDocUnknownType as Wt, ArrayPattern as X, TSIndexSignature as Xn, ThrowStatement as Xr, JSXExpressionContainer as Xt, ArrayExpression as Y, TSImportType as Yn, ThisExpression as Yr, JSXEmptyExpression as Yt, ArrowFunctionExpression as Z, TSIndexSignatureName as Zn, TryStatement as Zr, JSXFragment as Zt, BindingTsconfigRawOptions as _, ObjectProperty as _n, TSObjectKeyword as _r, ConditionalExpression as _t, BindingEnhancedTransformOptions as a, YieldExpression as ai, JSXText as an, TSIntrinsicKeyword as ar, BinaryExpression as at, BindingViteDynamicImportVarsPluginConfig as b, Program as bn, TSParenthesizedType as br, Decorator as bt, BindingHookResolveIdExtraArgs as c, LogicalExpression as cn, TSMethodSignature as cr, BindingRestElement as ct, BindingPluginContextResolveOptions as d, MethodDefinition as dn, TSNamedTupleMember as dr, BreakStatement as dt, V8IntrinsicExpression as ei, JSXNamespacedName as en, TSInstantiationExpression as er, AssignmentTargetProperty as et, BindingRebuildStrategy as f, NewExpression as fn, TSNamespaceExportDeclaration as fr, CallExpression as ft, BindingTsconfigCompilerOptions as g, ObjectPattern as gn, TSNumberKeyword as gr, ClassBody as gt, BindingTransformHookExtraArgs as h, ObjectExpression as hn, TSNullKeyword as hr, Class as ht, BindingClientHmrUpdate as i, WithStatement as ii, JSXSpreadChild as in, TSIntersectionType as ir, BigIntLiteral as it, IsolatedDeclarationsOptions as j, TSAnyKeyword as jn, TSTypeAliasDeclaration as jr, FormalParameterRest as jt, BindingWatcherBundler as k, SwitchCase as kn, TSThisType as kr, ForOfStatement as kt, BindingIsolatedDeclarationPluginConfig as l, MemberExpression as ln, TSModuleBlock as lr, BlockStatement as lt, BindingReplacePluginConfig as m, NumericLiteral as mn, TSNonNullExpression as mr, ChainExpression as mt, BindingBundleAnalyzerPluginConfig as n, VariableDeclarator as ni, JSXOpeningFragment as nn, TSInterfaceDeclaration as nr, AssignmentTargetRest as nt, BindingEnhancedTransformResult as o, types_d_exports as oi, LabelIdentifier as on, TSLiteralType as or, BindingIdentifier as ot, BindingRenderedChunk as p, NullLiteral as pn, TSNeverKeyword as pr, CatchClause as pt, moduleRunnerTransform as q, TSGlobalDeclaration as qn, TemplateElement as qr, JSXClosingFragment as qt, BindingBundleState as r, WhileStatement as ri, JSXSpreadAttribute as rn, TSInterfaceHeritage as rr, AwaitExpression as rt, BindingEsmExternalRequirePluginConfig as s, LabeledStatement as sn, TSMappedType as sr, BindingProperty as st, BindingBuiltinPluginName as t, VariableDeclaration as ti, JSXOpeningElement as tn, TSInterfaceBody as tr, AssignmentTargetPropertyProperty as tt, BindingMagicString as u, MetaProperty as un, TSModuleDeclaration as ur, BooleanLiteral as ut, BindingTsconfigResult as v, ParenthesizedExpression as vn, TSOptionalType as vr, ContinueStatement as vt, BindingViteModulePreloadPolyfillPluginConfig as w, SequenceExpression as wn, TSSatisfiesExpression as wr, ExportDefaultDeclaration as wt, BindingViteImportGlobPluginConfig as x, PropertyDefinition as xn, TSPropertySignature as xr, DoWhileStatement as xt, BindingViteBuildImportAnalysisPluginConfig as y, PrivateIdentifier as yn, TSParameterProperty as yr, DebuggerStatement as yt, PreRenderedChunk as z, TSConstructSignatureDeclaration as zn, TSTypePredicate as zr, ImportExpression as zt };
|
package/dist/shared/{bindingify-input-options-Y2rQIZiC.mjs → bindingify-input-options-BAdogY5b.mjs}
RENAMED
|
@@ -7,7 +7,7 @@ import { BindingAttachDebugInfo, BindingChunkModuleOrderBy, BindingLogLevel, Bin
|
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fsp from "node:fs/promises";
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "1.0.0-rc.
|
|
10
|
+
var version = "1.0.0-rc.15";
|
|
11
11
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/constants/version.ts
|
|
@@ -216,7 +216,7 @@ function bindingAssetSource(source) {
|
|
|
216
216
|
return { inner: source };
|
|
217
217
|
}
|
|
218
218
|
//#endregion
|
|
219
|
-
//#region \0@oxc-project+runtime@0.
|
|
219
|
+
//#region \0@oxc-project+runtime@0.124.0/helpers/decorate.js
|
|
220
220
|
function __decorate(decorators, target, key, desc) {
|
|
221
221
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
222
222
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -668,7 +668,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
|
|
|
668
668
|
return map;
|
|
669
669
|
}
|
|
670
670
|
//#endregion
|
|
671
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
671
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
|
|
672
672
|
function e(e, t, n) {
|
|
673
673
|
let r = (n) => e(n, ...t);
|
|
674
674
|
return n === void 0 ? r : Object.assign(r, {
|
|
@@ -677,7 +677,7 @@ function e(e, t, n) {
|
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
679
|
//#endregion
|
|
680
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
680
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/purry.js
|
|
681
681
|
function t$1(t, n, r) {
|
|
682
682
|
let i = t.length - n.length;
|
|
683
683
|
if (i === 0) return t(...n);
|
|
@@ -685,7 +685,7 @@ function t$1(t, n, r) {
|
|
|
685
685
|
throw Error(`Wrong number of arguments`);
|
|
686
686
|
}
|
|
687
687
|
//#endregion
|
|
688
|
-
//#region ../../node_modules/.pnpm/remeda@2.33.
|
|
688
|
+
//#region ../../node_modules/.pnpm/remeda@2.33.7/node_modules/remeda/dist/partition.js
|
|
689
689
|
function t(...t) {
|
|
690
690
|
return t$1(n, t);
|
|
691
691
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-
|
|
2
|
-
import { s as StringOrRegExp, t as BuiltinPlugin } from "./utils-
|
|
1
|
+
import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, b as BindingViteDynamicImportVarsPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteBuildImportAnalysisPluginConfig } from "./binding-ZnDS8vT0.mjs";
|
|
2
|
+
import { s as StringOrRegExp, t as BuiltinPlugin } from "./utils-B9dwRBJP.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/constructors.d.ts
|
|
5
5
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as ExternalMemoryStatus,
|
|
1
|
+
import { A as ExternalMemoryStatus, N as JsxOptions, P as MinifyOptions$1, R as ParserOptions, U as TransformOptions$1, bn as Program, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, h as BindingTransformHookExtraArgs, k as BindingWatcherBundler, p as BindingRenderedChunk, u as BindingMagicString, z as PreRenderedChunk } from "./binding-ZnDS8vT0.mjs";
|
|
2
2
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-C6h4g8dA.mjs";
|
|
3
|
-
import { a as NullValue, i as MaybePromise, n as MakeAsync, o as PartialNull, r as MaybeArray, s as StringOrRegExp$1, t as BuiltinPlugin } from "./utils-
|
|
3
|
+
import { a as NullValue, i as MaybePromise, n as MakeAsync, o as PartialNull, r as MaybeArray, s as StringOrRegExp$1, t as BuiltinPlugin } from "./utils-B9dwRBJP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/types/misc.d.ts
|
|
6
6
|
/** @inline */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parse, parseSync } from "../rolldown-binding.wasi.cjs";
|
|
2
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
function wrap(result) {
|
|
4
4
|
let program, module, comments, errors;
|
|
5
5
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as logInputHookInOutputPlugin, n as error } from "./logs-D80CXhvg.mjs";
|
|
2
2
|
import { n as BuiltinPlugin } from "./normalize-string-or-regex-D0o84ejN.mjs";
|
|
3
|
-
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-
|
|
3
|
+
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as transformModuleInfo, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-BAdogY5b.mjs";
|
|
4
4
|
import { v as unimplemented } from "./composable-filters-B2ByPP8y.mjs";
|
|
5
5
|
import { i as unwrapBindingResult } from "./error-CQ6njWsV.mjs";
|
|
6
6
|
import { Worker } from "node:worker_threads";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-CENnhnWn.mjs";
|
|
2
2
|
//#region src/api/rolldown/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-
|
|
1
|
+
import { F as MinifyResult$1, H as SourceMap, L as ParseResult$1, P as MinifyOptions$1, R as ParserOptions$1, W as TsconfigCache$1, a as BindingEnhancedTransformOptions, o as BindingEnhancedTransformResult, v as BindingTsconfigResult } from "./binding-ZnDS8vT0.mjs";
|
|
2
2
|
import { a as RolldownLog } from "./logging-C6h4g8dA.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/resolve-tsconfig.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as logMultipleWatcherOption } from "./logs-D80CXhvg.mjs";
|
|
2
|
-
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
2
|
+
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-BAdogY5b.mjs";
|
|
3
3
|
import { h as arraify } from "./composable-filters-B2ByPP8y.mjs";
|
|
4
|
-
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-
|
|
4
|
+
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-CENnhnWn.mjs";
|
|
5
5
|
import { t as aggregateBindingErrorsIntoJsError } from "./error-CQ6njWsV.mjs";
|
|
6
6
|
import { BindingWatcher, shutdownAsyncRuntime } from "../rolldown-binding.wasi.cjs";
|
|
7
7
|
//#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as parse, o as parseSync } from "./error-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./resolve-tsconfig-
|
|
3
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
1
|
+
import { a as parse, o as parseSync } from "./error-DJs8b3WW.js";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./resolve-tsconfig-CeKKTyZM.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
4
4
|
function walkNode(node, visitors) {
|
|
5
5
|
if (node == null) return;
|
|
6
6
|
if (Array.isArray(node)) {
|
|
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
|
|
|
2010
2010
|
exit !== null && exit(node);
|
|
2011
2011
|
}
|
|
2012
2012
|
//#endregion
|
|
2013
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2013
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
|
|
2014
2014
|
/** Mapping from node type name to node type ID */
|
|
2015
2015
|
const NODE_TYPE_IDS_MAP = new Map([
|
|
2016
2016
|
["DebuggerStatement", 0],
|
|
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
|
|
|
2180
2180
|
["TSUnionType", 164]
|
|
2181
2181
|
]);
|
|
2182
2182
|
//#endregion
|
|
2183
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
2183
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.124.0_@emnapi+core@1.9.2_@emnapi+runtime@1.9.2/node_modules/oxc-parser/src-js/visit/visitor.js
|
|
2184
2184
|
let compiledVisitor;
|
|
2185
2185
|
function createCompiledVisitor() {
|
|
2186
2186
|
compiledVisitor = [];
|