@rolldown/browser 1.0.0-beta.8 → 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/browser.mjs +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/experimental-index.cjs +5 -5
- package/dist/experimental-index.d.cts +3 -1
- package/dist/experimental-index.d.mts +3 -1
- package/dist/experimental-index.mjs +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/parallel-plugin-worker.cjs +1 -1
- package/dist/parallel-plugin-worker.mjs +1 -1
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/shared/{src-Dr_jviNR.mjs → src-C2DMSe40.mjs} +1 -1
- package/dist/shared/{src-6wlgtDMg.cjs → src-CySlc07g.cjs} +1 -1
- package/package.json +1 -1
package/dist/browser.mjs
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-CySlc07g.cjs');
|
|
3
3
|
require('./shared/parse-ast-index-DPj-F51D.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const ansis = require_chunk.__toESM(require("ansis"));
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk-DSsiIF1Z.mjs";
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-C2DMSe40.mjs";
|
|
3
3
|
import "./shared/parse-ast-index-BoNJRs1a.mjs";
|
|
4
4
|
import path, { sep } from "node:path";
|
|
5
5
|
import colors from "ansis";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('./shared/src-
|
|
3
|
+
const require_src = require('./shared/src-CySlc07g.cjs');
|
|
4
4
|
require('./shared/parse-ast-index-DPj-F51D.cjs');
|
|
5
5
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
6
6
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
@@ -71,13 +71,13 @@ function replacePlugin(values = {}, options = {}) {
|
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/builtin-plugin/transform-plugin.ts
|
|
73
73
|
function normalizeEcmaTransformPluginConfig(config) {
|
|
74
|
-
if (
|
|
75
|
-
let normalizedConfig = {
|
|
74
|
+
if (config) return {
|
|
76
75
|
...config,
|
|
76
|
+
include: require_src.normalizedStringOrRegex(config.include),
|
|
77
77
|
exclude: require_src.normalizedStringOrRegex(config.exclude),
|
|
78
|
-
|
|
78
|
+
jsxRefreshInclude: require_src.normalizedStringOrRegex(config.jsxRefreshInclude),
|
|
79
|
+
jsxRefreshExclude: require_src.normalizedStringOrRegex(config.jsxRefreshExclude)
|
|
79
80
|
};
|
|
80
|
-
return normalizedConfig;
|
|
81
81
|
}
|
|
82
82
|
function transformPlugin(config) {
|
|
83
83
|
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,4 +1,4 @@
|
|
|
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-
|
|
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-C2DMSe40.mjs";
|
|
2
2
|
import "./shared/parse-ast-index-BoNJRs1a.mjs";
|
|
3
3
|
import { moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
@@ -75,13 +75,13 @@ function replacePlugin(values = {}, options = {}) {
|
|
|
75
75
|
init_constructors();
|
|
76
76
|
init_normalize_string_or_regex();
|
|
77
77
|
function normalizeEcmaTransformPluginConfig(config) {
|
|
78
|
-
if (
|
|
79
|
-
let normalizedConfig = {
|
|
78
|
+
if (config) return {
|
|
80
79
|
...config,
|
|
80
|
+
include: normalizedStringOrRegex(config.include),
|
|
81
81
|
exclude: normalizedStringOrRegex(config.exclude),
|
|
82
|
-
|
|
82
|
+
jsxRefreshInclude: normalizedStringOrRegex(config.jsxRefreshInclude),
|
|
83
|
+
jsxRefreshExclude: normalizedStringOrRegex(config.jsxRefreshExclude)
|
|
83
84
|
};
|
|
84
|
-
return normalizedConfig;
|
|
85
85
|
}
|
|
86
86
|
function transformPlugin(config) {
|
|
87
87
|
return new BuiltinPlugin("builtin:transform", normalizeEcmaTransformPluginConfig(config));
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-C2DMSe40.mjs";
|
|
2
2
|
import "./shared/parse-ast-index-BoNJRs1a.mjs";
|
|
3
3
|
|
|
4
4
|
init_src();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
2
|
+
const require_src = require('./shared/src-CySlc07g.cjs');
|
|
3
3
|
require('./shared/parse-ast-index-DPj-F51D.cjs');
|
|
4
4
|
const src_rolldown_binding_wasi_cjs = require_chunk.__toESM(require("./rolldown-binding.wasi.cjs"));
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJS } from "./shared/chunk-DSsiIF1Z.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-C2DMSe40.mjs";
|
|
3
3
|
import "./shared/parse-ast-index-BoNJRs1a.mjs";
|
|
4
4
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
5
5
|
import { parentPort, workerData } from "node:worker_threads";
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ import { availableParallelism } from "node:os";
|
|
|
9
9
|
import { Worker } from "node:worker_threads";
|
|
10
10
|
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "1.0.0-beta.8";
|
|
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
|
|
@@ -10,7 +10,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
|
|
|
10
10
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
11
11
|
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version = "1.0.0-beta.8";
|
|
13
|
+
var version = "1.0.0-beta.8-commit.5ea1208";
|
|
14
14
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
package/package.json
CHANGED