rolldown 1.0.0-beta.7-commit.30e0395 → 1.0.0-beta.8-commit.5ea1208
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 +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/experimental-index.cjs +6 -6
- package/dist/experimental-index.d.cts +3 -1
- package/dist/experimental-index.d.mts +3 -1
- package/dist/experimental-index.mjs +6 -6
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +2 -2
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/shared/{parse-ast-index-BnwsxKz6.mjs → parse-ast-index-83yhN6Wa.mjs} +3 -10
- package/dist/shared/{parse-ast-index-BASfkmHa.cjs → parse-ast-index-Dfo0zI2n.cjs} +1 -14
- package/dist/shared/{src-DGExB9Ec.cjs → src-B6LFqXiC.cjs} +3 -4
- package/dist/shared/{src-DmUtCHjS.mjs → src-CLsWC5Qe.mjs} +3 -5
- package/package.json +15 -15
package/dist/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-B6LFqXiC.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-Dfo0zI2n.cjs');
|
|
4
4
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
5
5
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
6
6
|
const ansis = require_chunk.__toESM(require("ansis"));
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-CLsWC5Qe.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path, { sep } from "node:path";
|
|
6
6
|
import colors from "ansis";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('./shared/src-
|
|
4
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
3
|
+
const require_src = require('./shared/src-B6LFqXiC.cjs');
|
|
4
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-Dfo0zI2n.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
7
7
|
//#region src/api/experimental.ts
|
|
@@ -70,13 +70,13 @@ function replacePlugin(values = {}, options = {}) {
|
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region src/builtin-plugin/transform-plugin.ts
|
|
72
72
|
function normalizeEcmaTransformPluginConfig(config) {
|
|
73
|
-
if (
|
|
74
|
-
let normalizedConfig = {
|
|
73
|
+
if (config) return {
|
|
75
74
|
...config,
|
|
75
|
+
include: require_src.normalizedStringOrRegex(config.include),
|
|
76
76
|
exclude: require_src.normalizedStringOrRegex(config.exclude),
|
|
77
|
-
|
|
77
|
+
jsxRefreshInclude: require_src.normalizedStringOrRegex(config.jsxRefreshInclude),
|
|
78
|
+
jsxRefreshExclude: require_src.normalizedStringOrRegex(config.jsxRefreshExclude)
|
|
78
79
|
};
|
|
79
|
-
return normalizedConfig;
|
|
80
80
|
}
|
|
81
81
|
function transformPlugin(config) {
|
|
82
82
|
return new require_src.BuiltinPlugin("builtin:transform", normalizeEcmaTransformPluginConfig(config));
|
|
@@ -84,9 +84,11 @@ declare function replacePlugin(values?: BindingReplacePluginConfig["values"], op
|
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/builtin-plugin/transform-plugin.d.ts
|
|
86
86
|
type TransformPattern = string | RegExp | (RegExp | string)[];
|
|
87
|
-
type TransformPluginConfig = Omit<BindingTransformPluginConfig, "include" | "exclude"> & {
|
|
87
|
+
type TransformPluginConfig = Omit<BindingTransformPluginConfig, "include" | "exclude" | "jsxRefreshInclude" | "jsxRefreshExclude"> & {
|
|
88
88
|
include?: TransformPattern
|
|
89
89
|
exclude?: TransformPattern
|
|
90
|
+
jsxRefreshInclude?: TransformPattern
|
|
91
|
+
jsxRefreshExclude?: TransformPattern
|
|
90
92
|
};
|
|
91
93
|
declare function transformPlugin(config?: TransformPluginConfig): BuiltinPlugin;
|
|
92
94
|
|
|
@@ -84,9 +84,11 @@ declare function replacePlugin(values?: BindingReplacePluginConfig["values"], op
|
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/builtin-plugin/transform-plugin.d.ts
|
|
86
86
|
type TransformPattern = string | RegExp | (RegExp | string)[];
|
|
87
|
-
type TransformPluginConfig = Omit<BindingTransformPluginConfig, "include" | "exclude"> & {
|
|
87
|
+
type TransformPluginConfig = Omit<BindingTransformPluginConfig, "include" | "exclude" | "jsxRefreshInclude" | "jsxRefreshExclude"> & {
|
|
88
88
|
include?: TransformPattern
|
|
89
89
|
exclude?: TransformPattern
|
|
90
|
+
jsxRefreshInclude?: TransformPattern
|
|
91
|
+
jsxRefreshExclude?: TransformPattern
|
|
90
92
|
};
|
|
91
93
|
declare function transformPlugin(config?: TransformPluginConfig): BuiltinPlugin;
|
|
92
94
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-
|
|
2
|
-
import { import_binding } from "./shared/parse-ast-index-
|
|
1
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-CLsWC5Qe.mjs";
|
|
2
|
+
import { import_binding } from "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
5
5
|
//#region src/api/experimental.ts
|
|
@@ -74,13 +74,13 @@ function replacePlugin(values = {}, options = {}) {
|
|
|
74
74
|
init_constructors();
|
|
75
75
|
init_normalize_string_or_regex();
|
|
76
76
|
function normalizeEcmaTransformPluginConfig(config) {
|
|
77
|
-
if (
|
|
78
|
-
let normalizedConfig = {
|
|
77
|
+
if (config) return {
|
|
79
78
|
...config,
|
|
79
|
+
include: normalizedStringOrRegex(config.include),
|
|
80
80
|
exclude: normalizedStringOrRegex(config.exclude),
|
|
81
|
-
|
|
81
|
+
jsxRefreshInclude: normalizedStringOrRegex(config.jsxRefreshInclude),
|
|
82
|
+
jsxRefreshExclude: normalizedStringOrRegex(config.jsxRefreshExclude)
|
|
82
83
|
};
|
|
83
|
-
return normalizedConfig;
|
|
84
84
|
}
|
|
85
85
|
function transformPlugin(config) {
|
|
86
86
|
return new BuiltinPlugin("builtin:transform", normalizeEcmaTransformPluginConfig(config));
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
2
|
-
require('./shared/parse-ast-index-
|
|
1
|
+
const require_src = require('./shared/src-B6LFqXiC.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-Dfo0zI2n.cjs');
|
|
3
3
|
|
|
4
4
|
exports.VERSION = require_src.VERSION
|
|
5
5
|
exports.build = require_src.build
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-CLsWC5Qe.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
3
3
|
|
|
4
4
|
init_src();
|
|
5
5
|
export { VERSION, build, defineConfig, rolldown, watch, withFilter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-B6LFqXiC.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-Dfo0zI2n.cjs');
|
|
4
4
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
5
5
|
|
|
6
6
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS } from "./shared/chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
3
|
-
import { import_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-CLsWC5Qe.mjs";
|
|
3
|
+
import { import_binding } from "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
|
|
6
6
|
//#region src/parallel-plugin-worker.ts
|
package/dist/parse-ast-index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
1
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-Dfo0zI2n.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-
|
|
1
|
+
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
2
2
|
|
|
3
3
|
init_parse_ast_index();
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __commonJS, __esm, __require, __toESM } from "./chunk-DUYDk_2O.mjs";
|
|
2
|
-
import colors from "ansis";
|
|
3
2
|
|
|
4
3
|
//#region src/webcontainer-fallback.js
|
|
5
4
|
var require_webcontainer_fallback = __commonJS({ "src/webcontainer-fallback.js"(exports, module) {
|
|
@@ -483,12 +482,6 @@ function logParseError(message) {
|
|
|
483
482
|
message
|
|
484
483
|
};
|
|
485
484
|
}
|
|
486
|
-
function logMinifyWarning() {
|
|
487
|
-
return {
|
|
488
|
-
code: MINIFY_WARNING,
|
|
489
|
-
message: colors.yellow("The built-in minifier is still under development. Setting \"minify: true\" is not recommended for production use.")
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
485
|
function logInvalidLogPosition(pluginName) {
|
|
493
486
|
return {
|
|
494
487
|
code: INVALID_LOG_POSITION,
|
|
@@ -556,11 +549,11 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
556
549
|
properties.frame = getCodeFrame(source, line, column);
|
|
557
550
|
}
|
|
558
551
|
}
|
|
559
|
-
var INVALID_LOG_POSITION, PLUGIN_ERROR, INPUT_HOOK_IN_OUTPUT_PLUGIN, CYCLE_LOADING, MULTIPLY_NOTIFY_OPTION,
|
|
552
|
+
var INVALID_LOG_POSITION, PLUGIN_ERROR, INPUT_HOOK_IN_OUTPUT_PLUGIN, CYCLE_LOADING, MULTIPLY_NOTIFY_OPTION, PARSE_ERROR;
|
|
560
553
|
var init_logs = __esm({ "src/log/logs.ts"() {
|
|
561
554
|
init_code_frame();
|
|
562
555
|
init_locate_character();
|
|
563
|
-
INVALID_LOG_POSITION = "INVALID_LOG_POSITION", PLUGIN_ERROR = "PLUGIN_ERROR", INPUT_HOOK_IN_OUTPUT_PLUGIN = "INPUT_HOOK_IN_OUTPUT_PLUGIN", CYCLE_LOADING = "CYCLE_LOADING", MULTIPLY_NOTIFY_OPTION = "MULTIPLY_NOTIFY_OPTION",
|
|
556
|
+
INVALID_LOG_POSITION = "INVALID_LOG_POSITION", PLUGIN_ERROR = "PLUGIN_ERROR", INPUT_HOOK_IN_OUTPUT_PLUGIN = "INPUT_HOOK_IN_OUTPUT_PLUGIN", CYCLE_LOADING = "CYCLE_LOADING", MULTIPLY_NOTIFY_OPTION = "MULTIPLY_NOTIFY_OPTION", PARSE_ERROR = "PARSE_ERROR";
|
|
564
557
|
} });
|
|
565
558
|
|
|
566
559
|
//#endregion
|
|
@@ -650,4 +643,4 @@ var init_parse_ast_index = __esm({ "src/parse-ast-index.ts"() {
|
|
|
650
643
|
} });
|
|
651
644
|
|
|
652
645
|
//#endregion
|
|
653
|
-
export { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition,
|
|
646
|
+
export { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst, parseAstAsync };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-qZFfknuJ.cjs');
|
|
2
|
-
const ansis = require_chunk.__toESM(require("ansis"));
|
|
3
2
|
|
|
4
3
|
//#region src/webcontainer-fallback.js
|
|
5
4
|
var require_webcontainer_fallback = require_chunk.__commonJS({ "src/webcontainer-fallback.js"(exports, module) {
|
|
@@ -473,19 +472,13 @@ function locate(source, search, options) {
|
|
|
473
472
|
|
|
474
473
|
//#endregion
|
|
475
474
|
//#region src/log/logs.ts
|
|
476
|
-
const INVALID_LOG_POSITION = "INVALID_LOG_POSITION", PLUGIN_ERROR = "PLUGIN_ERROR", INPUT_HOOK_IN_OUTPUT_PLUGIN = "INPUT_HOOK_IN_OUTPUT_PLUGIN", CYCLE_LOADING = "CYCLE_LOADING", MULTIPLY_NOTIFY_OPTION = "MULTIPLY_NOTIFY_OPTION",
|
|
475
|
+
const INVALID_LOG_POSITION = "INVALID_LOG_POSITION", PLUGIN_ERROR = "PLUGIN_ERROR", INPUT_HOOK_IN_OUTPUT_PLUGIN = "INPUT_HOOK_IN_OUTPUT_PLUGIN", CYCLE_LOADING = "CYCLE_LOADING", MULTIPLY_NOTIFY_OPTION = "MULTIPLY_NOTIFY_OPTION", PARSE_ERROR = "PARSE_ERROR";
|
|
477
476
|
function logParseError(message) {
|
|
478
477
|
return {
|
|
479
478
|
code: PARSE_ERROR,
|
|
480
479
|
message
|
|
481
480
|
};
|
|
482
481
|
}
|
|
483
|
-
function logMinifyWarning() {
|
|
484
|
-
return {
|
|
485
|
-
code: MINIFY_WARNING,
|
|
486
|
-
message: ansis.default.yellow("The built-in minifier is still under development. Setting \"minify: true\" is not recommended for production use.")
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
482
|
function logInvalidLogPosition(pluginName) {
|
|
490
483
|
return {
|
|
491
484
|
code: INVALID_LOG_POSITION,
|
|
@@ -669,12 +662,6 @@ Object.defineProperty(exports, 'logInvalidLogPosition', {
|
|
|
669
662
|
return logInvalidLogPosition;
|
|
670
663
|
}
|
|
671
664
|
});
|
|
672
|
-
Object.defineProperty(exports, 'logMinifyWarning', {
|
|
673
|
-
enumerable: true,
|
|
674
|
-
get: function () {
|
|
675
|
-
return logMinifyWarning;
|
|
676
|
-
}
|
|
677
|
-
});
|
|
678
665
|
Object.defineProperty(exports, 'logMultiplyNotifyOption', {
|
|
679
666
|
enumerable: true,
|
|
680
667
|
get: function () {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
3
|
+
const require_parse_ast_index = require('./parse-ast-index-Dfo0zI2n.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
|
-
const ansis = require_chunk.__toESM(require("ansis"));
|
|
6
5
|
const __valibot_to_json_schema = require_chunk.__toESM(require("@valibot/to-json-schema"));
|
|
6
|
+
const ansis = require_chunk.__toESM(require("ansis"));
|
|
7
7
|
const valibot = require_chunk.__toESM(require("valibot"));
|
|
8
8
|
const node_os = require_chunk.__toESM(require("node:os"));
|
|
9
9
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.
|
|
12
|
+
var version = "1.0.0-beta.8-commit.5ea1208";
|
|
13
13
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -2752,7 +2752,6 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
|
|
|
2752
2752
|
const logLevel = inputOptions.logLevel || LOG_LEVEL_INFO;
|
|
2753
2753
|
const onLog = getLogger(getObjectPlugins(inputPlugins), getOnLog(inputOptions, logLevel), logLevel, watchMode);
|
|
2754
2754
|
if (!isClose) outputOptions = PluginDriver.callOutputOptionsHook([...inputPlugins, ...outputPlugins], outputOptions, onLog, logLevel, watchMode);
|
|
2755
|
-
if (outputOptions.minify === true) onLog(LOG_LEVEL_WARN, require_parse_ast_index.logMinifyWarning());
|
|
2756
2755
|
const normalizedOutputPlugins = await normalizePluginOption(outputOptions.plugins);
|
|
2757
2756
|
let plugins = [...normalizePlugins(inputPlugins, ANONYMOUS_PLUGIN_PREFIX), ...checkOutputPluginOption(normalizePlugins(normalizedOutputPlugins, ANONYMOUS_OUTPUT_PLUGIN_PREFIX), onLog)];
|
|
2758
2757
|
if (inputOptions.experimental?.enableComposingJsPlugins ?? false) plugins = composeJsPlugins(plugins);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __esm } from "./chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition,
|
|
2
|
+
import { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-83yhN6Wa.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import colors from "ansis";
|
|
5
4
|
import { toJsonSchema } from "@valibot/to-json-schema";
|
|
5
|
+
import colors from "ansis";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
import { availableParallelism } from "node:os";
|
|
8
8
|
import { Worker } from "node:worker_threads";
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.0.0-beta.
|
|
11
|
+
var version = "1.0.0-beta.8-commit.5ea1208";
|
|
12
12
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
@@ -4094,7 +4094,6 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
|
|
|
4094
4094
|
const logLevel = inputOptions.logLevel || LOG_LEVEL_INFO;
|
|
4095
4095
|
const onLog = getLogger(getObjectPlugins(inputPlugins), getOnLog(inputOptions, logLevel), logLevel, watchMode);
|
|
4096
4096
|
if (!isClose) outputOptions = PluginDriver.callOutputOptionsHook([...inputPlugins, ...outputPlugins], outputOptions, onLog, logLevel, watchMode);
|
|
4097
|
-
if (outputOptions.minify === true) onLog(LOG_LEVEL_WARN, logMinifyWarning());
|
|
4098
4097
|
const normalizedOutputPlugins = await normalizePluginOption(outputOptions.plugins);
|
|
4099
4098
|
let plugins = [...normalizePlugins(inputPlugins, ANONYMOUS_PLUGIN_PREFIX), ...checkOutputPluginOption(normalizePlugins(normalizedOutputPlugins, ANONYMOUS_OUTPUT_PLUGIN_PREFIX), onLog)];
|
|
4100
4099
|
if (inputOptions.experimental?.enableComposingJsPlugins ?? false) plugins = composeJsPlugins(plugins);
|
|
@@ -4120,7 +4119,6 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode, isCl
|
|
|
4120
4119
|
var init_create_bundler_option = __esm({ "src/utils/create-bundler-option.ts"() {
|
|
4121
4120
|
init_logger();
|
|
4122
4121
|
init_logging();
|
|
4123
|
-
init_logs();
|
|
4124
4122
|
init_plugin_driver();
|
|
4125
4123
|
init_bindingify_input_options();
|
|
4126
4124
|
init_bindingify_output_options();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.8-commit.5ea1208",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -119,22 +119,22 @@
|
|
|
119
119
|
"typedoc": "^0.28.0",
|
|
120
120
|
"typescript": "^5.7.3",
|
|
121
121
|
"unbuild": "^3.0.0",
|
|
122
|
-
"rolldown": "
|
|
123
|
-
"
|
|
122
|
+
"@rolldown/testing": "0.0.1",
|
|
123
|
+
"rolldown": "1.0.0-beta.8-commit.5ea1208"
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
|
-
"@rolldown/binding-darwin-
|
|
127
|
-
"@rolldown/binding-
|
|
128
|
-
"@rolldown/binding-linux-
|
|
129
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.
|
|
130
|
-
"@rolldown/binding-linux-
|
|
131
|
-
"@rolldown/binding-linux-
|
|
132
|
-
"@rolldown/binding-
|
|
133
|
-
"@rolldown/binding-
|
|
134
|
-
"@rolldown/binding-
|
|
135
|
-
"@rolldown/binding-win32-
|
|
136
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.
|
|
137
|
-
"@rolldown/binding-
|
|
126
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.8-commit.5ea1208",
|
|
127
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.8-commit.5ea1208",
|
|
128
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.8-commit.5ea1208",
|
|
129
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.8-commit.5ea1208",
|
|
130
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.8-commit.5ea1208",
|
|
131
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.8-commit.5ea1208",
|
|
132
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.8-commit.5ea1208",
|
|
133
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.8-commit.5ea1208",
|
|
134
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.8-commit.5ea1208",
|
|
135
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.8-commit.5ea1208",
|
|
136
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8-commit.5ea1208",
|
|
137
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.8-commit.5ea1208"
|
|
138
138
|
},
|
|
139
139
|
"scripts": {
|
|
140
140
|
"# Scrips for binding #": "_",
|