rolldown 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/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/shared/{src-DStBvZXC.cjs → src-B6LFqXiC.cjs} +1 -1
- package/dist/shared/{src-BHF9qaCH.mjs → src-CLsWC5Qe.mjs} +1 -1
- package/package.json +14 -14
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-B6LFqXiC.cjs');
|
|
3
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"));
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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
3
|
import "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path, { sep } from "node:path";
|
|
@@ -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-B6LFqXiC.cjs');
|
|
4
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
|
|
|
@@ -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,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-CLsWC5Qe.mjs";
|
|
2
2
|
import { import_binding } from "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
@@ -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
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-CLsWC5Qe.mjs";
|
|
2
2
|
import "./shared/parse-ast-index-83yhN6Wa.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-B6LFqXiC.cjs');
|
|
3
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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJS } from "./shared/chunk-DUYDk_2O.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-CLsWC5Qe.mjs";
|
|
3
3
|
import { import_binding } from "./shared/parse-ast-index-83yhN6Wa.mjs";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ 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.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
|
|
@@ -8,7 +8,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.8";
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.8",
|
|
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/",
|
|
@@ -120,21 +120,21 @@
|
|
|
120
120
|
"typescript": "^5.7.3",
|
|
121
121
|
"unbuild": "^3.0.0",
|
|
122
122
|
"@rolldown/testing": "0.0.1",
|
|
123
|
-
"rolldown": "1.0.0-beta.8"
|
|
123
|
+
"rolldown": "1.0.0-beta.8-commit.5ea1208"
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.8",
|
|
127
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.8",
|
|
128
|
-
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.8",
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-linux-arm64-
|
|
132
|
-
"@rolldown/binding-linux-x64-
|
|
133
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.8",
|
|
134
|
-
"@rolldown/binding-
|
|
135
|
-
"@rolldown/binding-win32-
|
|
136
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8",
|
|
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 #": "_",
|