@rolldown/browser 1.0.0-rc.11 → 1.0.0-rc.12
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.mjs +2 -2
- package/dist/experimental-index.browser.mjs +1 -1
- package/dist/experimental-index.mjs +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/parallel-plugin-worker.mjs +1 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/{rolldown-build-BPQtF2AA.js → rolldown-build-B2FA5DNv.js} +2 -2
- package/dist/shared/{bindingify-input-options-CSSx7s5e.mjs → bindingify-input-options-MqDue3xO.mjs} +2 -2
- package/dist/shared/{load-config-CXtSVabV.mjs → load-config-DIkJ9d-P.mjs} +1 -1
- package/dist/shared/{rolldown-D-bh1N9N.mjs → rolldown-B5m6XtwJ.mjs} +1 -1
- package/dist/shared/{rolldown-build-Bysdmf-9.mjs → rolldown-build-CfQ_wZyF.mjs} +1 -1
- package/dist/shared/{watch-V9eI6ua1.mjs → watch-Bkj4zPhn.mjs} +2 -2
- package/package.json +1 -1
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-Bkj4zPhn.mjs";
|
|
2
|
+
import { C as version, S as description } from "./shared/bindingify-input-options-MqDue3xO.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-CfQ_wZyF.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-B5m6XtwJ.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-DIkJ9d-P.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.122.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.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-MqDue3xO.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-DIkJ9d-P.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { a as validateOption, i as transformToRollupOutput, n as createBundlerOptions, o as PluginDriver, t as RolldownBuild } from "./rolldown-build-B2FA5DNv.js";
|
|
3
3
|
import { a as parse$2, i as unwrapBindingResult, o as parseSync$2, r as normalizeBindingResult } from "./error-nyELQq9T.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
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-CkWJwi9L.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-MqDue3xO.mjs";
|
|
3
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-CfQ_wZyF.mjs";
|
|
4
4
|
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-CQ6njWsV.mjs";
|
|
5
5
|
import { n as parseSync$2, t as parse$2 } from "./shared/parse-B_jvq8dU.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";
|
package/dist/index.browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-B2FA5DNv.js";
|
|
3
3
|
import { t as aggregateBindingErrorsIntoJsError } from "./error-nyELQq9T.js";
|
|
4
4
|
import { BindingWatcher, shutdownAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
5
5
|
//#region src/api/rolldown/index.ts
|
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-Bkj4zPhn.mjs";
|
|
2
|
+
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-MqDue3xO.mjs";
|
|
3
|
+
import { t as rolldown } from "./shared/rolldown-B5m6XtwJ.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-MqDue3xO.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
|
|
Binary file
|
|
@@ -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.12";
|
|
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.122.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);
|
package/dist/shared/{bindingify-input-options-CSSx7s5e.mjs → bindingify-input-options-MqDue3xO.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.12";
|
|
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.122.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);
|
|
@@ -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-CfQ_wZyF.mjs";
|
|
2
2
|
//#region src/api/rolldown/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -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-MqDue3xO.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,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-MqDue3xO.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-CfQ_wZyF.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
|