rolldown 1.0.0-beta.15 → 1.0.0-beta.17
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 +8 -8
- package/dist/cli.mjs +1042 -1081
- package/dist/config.cjs +3 -3
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +4 -5
- package/dist/experimental-index.cjs +7 -31
- package/dist/experimental-index.d.cts +2 -2
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +4 -22
- package/dist/experimental-runtime-types.d.ts +52 -0
- package/dist/filter-index.d.cts +2 -2
- package/dist/filter-index.d.mts +2 -2
- package/dist/filter-index.mjs +1 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -4
- package/dist/parallel-plugin-worker.cjs +3 -4
- package/dist/parallel-plugin-worker.mjs +27 -34
- 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 -2
- package/dist/shared/{binding-CZdobbZA.d.cts → binding-CWvDTpOw.d.mts} +23 -15
- package/dist/shared/{binding-Dze8QVpf.d.mts → binding-um3VI33z.d.cts} +23 -15
- package/dist/shared/{define-config-De_1kjGz.d.mts → define-config-Cm86JHb7.d.mts} +73 -12
- package/dist/shared/{define-config-BE-fkZNW.d.cts → define-config-POPyhxOq.d.cts} +73 -12
- package/dist/shared/{load-config-Bq6nGoUg.cjs → load-config-B4zzmrcW.cjs} +1 -1
- package/dist/shared/{load-config-BOcke1T-.mjs → load-config-BlOqMlge.mjs} +14 -19
- package/dist/shared/{misc-DGAe2XOW.mjs → misc-BN0nse6C.mjs} +1 -4
- package/dist/shared/parse-ast-index-BpqxVgDm.mjs +616 -0
- package/dist/shared/parse-ast-index-XFcW-g8N.cjs +738 -0
- package/dist/shared/prompt-C5jz26Zn.mjs +852 -0
- package/dist/shared/{prompt-8EeOGx1_.cjs → prompt-QNI93ne7.cjs} +2 -2
- package/dist/shared/{src-aJubL6dq.cjs → src-C98Q0NLX.cjs} +63 -55
- package/dist/shared/{src-DBOqhEP1.mjs → src-CuIbdNSi.mjs} +1146 -1391
- package/package.json +22 -22
- package/dist/shared/chunk--iN_1bjD.mjs +0 -33
- package/dist/shared/parse-ast-index-BAuPesgO.mjs +0 -658
- package/dist/shared/parse-ast-index-C53MhHqY.cjs +0 -700
- package/dist/shared/prompt-Dc0i9ubg.mjs +0 -854
package/dist/cli.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-DDkG_k5U.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-C98Q0NLX.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-XFcW-g8N.cjs');
|
|
4
4
|
const require_misc = require('./shared/misc-BKp5iIef.cjs');
|
|
5
|
-
const require_load_config = require('./shared/load-config-
|
|
5
|
+
const require_load_config = require('./shared/load-config-B4zzmrcW.cjs');
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
8
8
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
@@ -933,7 +933,7 @@ ${indent}`);
|
|
|
933
933
|
line = space > 0 && (opts.columns || 0) >= 80 ? left + " ".repeat(space) + right : (right ? `${colors$2.gray(`[${right}]`)} ` : "") + left;
|
|
934
934
|
line += characterFormat(additional.length > 0 ? "\n" + additional.join("\n") : "");
|
|
935
935
|
if (logObj.type === "trace") {
|
|
936
|
-
const _err = new Error("Trace: " + logObj.message);
|
|
936
|
+
const _err = /* @__PURE__ */ new Error("Trace: " + logObj.message);
|
|
937
937
|
line += this.formatStack(_err.stack || "", _err.message);
|
|
938
938
|
}
|
|
939
939
|
return isBadge ? "\n" + line + "\n" : line;
|
|
@@ -956,7 +956,7 @@ function createConsola(options$1 = {}) {
|
|
|
956
956
|
defaults: { level },
|
|
957
957
|
stdout: process.stdout,
|
|
958
958
|
stderr: process.stderr,
|
|
959
|
-
prompt: (...args) => Promise.resolve().then(() => require("./shared/prompt-
|
|
959
|
+
prompt: (...args) => Promise.resolve().then(() => require("./shared/prompt-QNI93ne7.cjs")).then((m) => m.prompt(...args)),
|
|
960
960
|
reporters: options$1.reporters || [options$1.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
961
961
|
...options$1
|
|
962
962
|
});
|
|
@@ -1424,8 +1424,8 @@ const process$2 = globalThis.process;
|
|
|
1424
1424
|
const { onExit, load, unload } = signalExitWrap(processOk(process$2) ? new SignalExit(process$2) : new SignalExitFallback());
|
|
1425
1425
|
|
|
1426
1426
|
//#endregion
|
|
1427
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1428
|
-
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1427
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.73.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1428
|
+
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.73.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1429
1429
|
function _usingCtx() {
|
|
1430
1430
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1431
1431
|
var n$2 = Error();
|
|
@@ -1485,7 +1485,7 @@ var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc
|
|
|
1485
1485
|
|
|
1486
1486
|
//#endregion
|
|
1487
1487
|
//#region src/cli/commands/bundle.ts
|
|
1488
|
-
var import_usingCtx = require_chunk.__toESM(require_usingCtx());
|
|
1488
|
+
var import_usingCtx = require_chunk.__toESM(require_usingCtx(), 1);
|
|
1489
1489
|
async function bundleWithConfig(configPath, cliOptions) {
|
|
1490
1490
|
if (cliOptions.watch) {
|
|
1491
1491
|
process.env.ROLLUP_WATCH = "true";
|