rolldown 1.0.0-beta.57 → 1.0.0-beta.58
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 +9 -9
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +7 -7
- package/dist/experimental-index.d.mts +3 -3
- package/dist/experimental-index.mjs +22 -23
- package/dist/filter-index.d.mts +2 -2
- package/dist/get-log-filter.d.mts +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +7 -7
- package/dist/parallel-plugin-worker.mjs +4 -4
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +3 -3
- package/dist/shared/{binding-Cuiiq-jL.mjs → binding-B_TbiTj8.mjs} +29 -28
- package/dist/shared/{binding-CDyF6W3D.d.mts → binding-MAEzB4KA.d.mts} +10 -0
- package/dist/shared/{bindingify-input-options-B8B4dvr-.mjs → bindingify-input-options-DA2ZhV0B.mjs} +8 -4
- package/dist/shared/{constructors-CxTKGwaB.mjs → constructors-BpxCdJYi.mjs} +1 -1
- package/dist/shared/{constructors-BnPlw43Q.d.mts → constructors-i-dnHlhG.d.mts} +2 -2
- package/dist/shared/{define-config-kYHtCO-M.d.mts → define-config-twT5HTur.d.mts} +470 -129
- package/dist/shared/{load-config-BvbZUaFt.mjs → load-config-ORm33WR7.mjs} +1 -1
- package/dist/shared/{logging-BpAvp7KV.d.mts → logging-B4x9qar8.d.mts} +1 -0
- package/dist/shared/{normalize-string-or-regex-0t36Z7KW.mjs → normalize-string-or-regex-DD62Rjxi.mjs} +4 -3
- package/dist/shared/{parse-ast-index-Bcjhsr8U.mjs → parse-ast-index-CgUIFKC1.mjs} +2 -2
- package/dist/shared/{rolldown-CF29fS6Z.mjs → rolldown-B-IUR2m3.mjs} +2 -1
- package/dist/shared/{rolldown-build--qygLwCL.mjs → rolldown-build-DADnIB07.mjs} +7 -4
- package/dist/shared/{watch-CyvuFK7g.mjs → watch-BxrDbQPl.mjs} +5 -4
- package/package.json +58 -58
package/dist/shared/{bindingify-input-options-B8B4dvr-.mjs → bindingify-input-options-DA2ZhV0B.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-B_TbiTj8.mjs";
|
|
2
2
|
import { c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-Up1RAnkl.mjs";
|
|
3
3
|
import { a as unreachable, o as unsupported, t as arraify } from "./misc-DpjTMcQQ.mjs";
|
|
4
|
-
import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-
|
|
5
|
-
import { t as parseAst } from "./parse-ast-index-
|
|
4
|
+
import { E as LOG_LEVEL_WARN, S as normalizeLog, _ as PlainObjectLike, a as bindingifyManifestPlugin, c as collectChangedBundle, d as bindingifySourcemap, f as transformRenderedChunk, g as lazyProp, i as bindingifyCSSPostPlugin, l as transformToOutputBundle, m as bindingAssetSource, n as BuiltinPlugin, o as bindingifyViteHtmlPlugin, p as __decorate, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex, v as MinimalPluginContextImpl } from "./normalize-string-or-regex-DD62Rjxi.mjs";
|
|
5
|
+
import { t as parseAst } from "./parse-ast-index-CgUIFKC1.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import * as filter from "@rolldown/pluginutils";
|
|
8
8
|
import fsp from "node:fs/promises";
|
|
@@ -1137,6 +1137,9 @@ var NormalizedOutputOptionsImpl = class extends PlainObjectLike {
|
|
|
1137
1137
|
get inlineDynamicImports() {
|
|
1138
1138
|
return this.inner.inlineDynamicImports;
|
|
1139
1139
|
}
|
|
1140
|
+
get dynamicImportInCjs() {
|
|
1141
|
+
return this.inner.dynamicImportInCjs;
|
|
1142
|
+
}
|
|
1140
1143
|
get externalLiveBindings() {
|
|
1141
1144
|
return this.inner.externalLiveBindings;
|
|
1142
1145
|
}
|
|
@@ -1230,6 +1233,7 @@ __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "shimMissingExport
|
|
|
1230
1233
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "name", null);
|
|
1231
1234
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "file", null);
|
|
1232
1235
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "inlineDynamicImports", null);
|
|
1236
|
+
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "dynamicImportInCjs", null);
|
|
1233
1237
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "externalLiveBindings", null);
|
|
1234
1238
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "banner", null);
|
|
1235
1239
|
__decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "footer", null);
|
|
@@ -1431,7 +1435,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
|
|
|
1431
1435
|
return ret;
|
|
1432
1436
|
},
|
|
1433
1437
|
makeAbsoluteExternalsRelative: bindingifyMakeAbsoluteExternalsRelative(inputOptions.makeAbsoluteExternalsRelative),
|
|
1434
|
-
|
|
1438
|
+
devtools: inputOptions.devtools,
|
|
1435
1439
|
invalidateJsSideCache: pluginContextData.clear.bind(pluginContextData),
|
|
1436
1440
|
preserveEntrySignatures: bindingifyPreserveEntrySignatures(inputOptions.preserveEntrySignatures),
|
|
1437
1441
|
optimization: inputOptions.optimization,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { n as BuiltinPlugin, s as makeBuiltinPluginCallable, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DD62Rjxi.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/builtin-plugin/constructors.ts
|
|
4
4
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, h as BindingViteBuildImportAnalysisPluginConfig, i as BindingEsmExternalRequirePluginConfig, k as BindingViteWasmHelperPluginConfig, o as BindingIsolatedDeclarationPluginConfig, p as BindingViteAssetImportMetaUrlPluginConfig, v as BindingViteDynamicImportVarsPluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteHtmlInlineProxyPluginConfig } from "./binding-
|
|
2
|
-
import { A as BuiltinPlugin,
|
|
1
|
+
import { D as BindingViteResolvePluginConfig, E as BindingViteReporterPluginConfig, S as BindingViteJsonPluginConfig, T as BindingViteReactRefreshWrapperPluginConfig, h as BindingViteBuildImportAnalysisPluginConfig, i as BindingEsmExternalRequirePluginConfig, k as BindingViteWasmHelperPluginConfig, o as BindingIsolatedDeclarationPluginConfig, p as BindingViteAssetImportMetaUrlPluginConfig, v as BindingViteDynamicImportVarsPluginConfig, w as BindingViteModulePreloadPolyfillPluginConfig, x as BindingViteImportGlobPluginConfig, y as BindingViteHtmlInlineProxyPluginConfig } from "./binding-MAEzB4KA.mjs";
|
|
2
|
+
import { A as BuiltinPlugin, Et as StringOrRegExp } from "./define-config-twT5HTur.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/constructors.d.ts
|
|
5
5
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|