rolldown 1.0.0-beta.3-commit.3337767 → 1.0.0-beta.3-commit.7d37092
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/cjs/cli.cjs +2 -2
- package/dist/cjs/experimental-index.cjs +2 -2
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/parallel-plugin-worker.cjs +2 -2
- package/dist/cjs/parse-ast-index.cjs +1 -1
- package/dist/esm/cli.mjs +2 -2
- package/dist/esm/experimental-index.mjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/parallel-plugin-worker.mjs +2 -2
- package/dist/esm/parse-ast-index.mjs +1 -1
- package/dist/shared/{parse-ast-index-BD-Y2voY.mjs → parse-ast-index-CSo7-trQ.mjs} +0 -1
- package/dist/shared/{parse-ast-index-DNiBAU8M.cjs → parse-ast-index-DtSwpkV3.cjs} +0 -1
- package/dist/shared/{src-BSVpYrJ_.mjs → src-BeCEcphh.mjs} +2 -2
- package/dist/shared/{src-Qwbn7OEQ.cjs → src-C0p7XKwp.cjs} +2 -2
- package/dist/types/binding.d.ts +7 -5
- package/dist/types/options/input-options.d.ts +6 -0
- package/package.json +14 -14
package/dist/cjs/cli.cjs
CHANGED
|
@@ -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-C0p7XKwp.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
6
6
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
7
7
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
@@ -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-C0p7XKwp.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
7
7
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/cjs/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-C0p7XKwp.cjs');
|
|
2
|
+
require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
3
3
|
|
|
4
4
|
exports.VERSION = require_src.VERSION
|
|
5
5
|
exports.build = require_src.build
|
|
@@ -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-C0p7XKwp.cjs');
|
|
4
|
+
const require_parse_ast_index = require('../shared/parse-ast-index-DtSwpkV3.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -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-DtSwpkV3.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from "../shared/parse-ast-index-
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-
|
|
1
|
+
import { colors } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-BeCEcphh.mjs";
|
|
3
3
|
import process$1, { cwd } from "node:process";
|
|
4
4
|
import path, { sep } from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-BeCEcphh.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin/parallel-plugin.ts
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../shared/parse-ast-index-
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
1
|
+
import "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-BeCEcphh.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { import_binding } from "../shared/parse-ast-index-
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
1
|
+
import { import_binding } from "../shared/parse-ast-index-CSo7-trQ.mjs";
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-BeCEcphh.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -575,7 +575,6 @@ var require_binding = __commonJS({ "src/binding.js"(exports, module) {
|
|
|
575
575
|
module.exports.BindingBundleEndEventData = nativeBinding.BindingBundleEndEventData;
|
|
576
576
|
module.exports.BindingCallableBuiltinPlugin = nativeBinding.BindingCallableBuiltinPlugin;
|
|
577
577
|
module.exports.BindingError = nativeBinding.BindingError;
|
|
578
|
-
module.exports.BindingLog = nativeBinding.BindingLog;
|
|
579
578
|
module.exports.BindingModuleInfo = nativeBinding.BindingModuleInfo;
|
|
580
579
|
module.exports.BindingNormalizedOptions = nativeBinding.BindingNormalizedOptions;
|
|
581
580
|
module.exports.BindingOutputAsset = nativeBinding.BindingOutputAsset;
|
|
@@ -549,7 +549,6 @@ var require_binding = require_chunk.__commonJS({ "src/binding.js"(exports, modul
|
|
|
549
549
|
module.exports.BindingBundleEndEventData = nativeBinding.BindingBundleEndEventData;
|
|
550
550
|
module.exports.BindingCallableBuiltinPlugin = nativeBinding.BindingCallableBuiltinPlugin;
|
|
551
551
|
module.exports.BindingError = nativeBinding.BindingError;
|
|
552
|
-
module.exports.BindingLog = nativeBinding.BindingLog;
|
|
553
552
|
module.exports.BindingModuleInfo = nativeBinding.BindingModuleInfo;
|
|
554
553
|
module.exports.BindingNormalizedOptions = nativeBinding.BindingNormalizedOptions;
|
|
555
554
|
module.exports.BindingOutputAsset = nativeBinding.BindingOutputAsset;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-
|
|
1
|
+
import { augmentCodeLocation, colors, error, import_binding, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMinifyWarning, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-CSo7-trQ.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
4
|
import { Worker } from "node:worker_threads";
|
|
@@ -2705,7 +2705,7 @@ const watch = (input) => {
|
|
|
2705
2705
|
|
|
2706
2706
|
//#endregion
|
|
2707
2707
|
//#region package.json
|
|
2708
|
-
var version = "1.0.0-beta.3-commit.
|
|
2708
|
+
var version = "1.0.0-beta.3-commit.7d37092";
|
|
2709
2709
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2710
2710
|
|
|
2711
2711
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
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-DtSwpkV3.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_buffer = require_chunk.__toESM(require("node:buffer"));
|
|
6
6
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
@@ -2707,7 +2707,7 @@ const watch = (input) => {
|
|
|
2707
2707
|
|
|
2708
2708
|
//#endregion
|
|
2709
2709
|
//#region package.json
|
|
2710
|
-
var version = "1.0.0-beta.3-commit.
|
|
2710
|
+
var version = "1.0.0-beta.3-commit.7d37092";
|
|
2711
2711
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2712
2712
|
|
|
2713
2713
|
//#endregion
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -20,11 +20,6 @@ export declare class BindingError {
|
|
|
20
20
|
message: string
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export declare class BindingLog {
|
|
24
|
-
code: string
|
|
25
|
-
message: string
|
|
26
|
-
}
|
|
27
|
-
|
|
28
23
|
export declare class BindingModuleInfo {
|
|
29
24
|
id: string
|
|
30
25
|
importers: Array<string>
|
|
@@ -413,6 +408,13 @@ export type BindingJsx =
|
|
|
413
408
|
| { type: 'Preserve' }
|
|
414
409
|
| { type: 'Enable', field0: JsxOptions }
|
|
415
410
|
|
|
411
|
+
export interface BindingLog {
|
|
412
|
+
code: string
|
|
413
|
+
message: string
|
|
414
|
+
id?: string
|
|
415
|
+
exporter?: string
|
|
416
|
+
}
|
|
417
|
+
|
|
416
418
|
export declare enum BindingLogLevel {
|
|
417
419
|
Silent = 0,
|
|
418
420
|
Warn = 1,
|
|
@@ -37,6 +37,12 @@ export interface InputOptions {
|
|
|
37
37
|
plugins?: RolldownPluginOption;
|
|
38
38
|
external?: ExternalOption;
|
|
39
39
|
resolve?: {
|
|
40
|
+
/**
|
|
41
|
+
* > [!WARNING]
|
|
42
|
+
* > `resolve.alias` will not call `resolveId` hooks of other plugin.
|
|
43
|
+
* > If you want to call `resolveId` hooks of other plugin, use `aliasPlugin` from `rolldown/experimental` instead.
|
|
44
|
+
* > You could find more discussion in [this issue](https://github.com/rolldown/rolldown/issues/3615)
|
|
45
|
+
*/
|
|
40
46
|
alias?: Record<string, string[] | string>;
|
|
41
47
|
aliasFields?: string[][];
|
|
42
48
|
conditionNames?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.3-commit.
|
|
3
|
+
"version": "1.0.0-beta.3-commit.7d37092",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -122,21 +122,21 @@
|
|
|
122
122
|
"unbuild": "^3.0.0",
|
|
123
123
|
"why-is-node-running": "^3.0.0",
|
|
124
124
|
"@rolldown/testing": "0.0.1",
|
|
125
|
-
"rolldown": "1.0.0-beta.3-commit.
|
|
125
|
+
"rolldown": "1.0.0-beta.3-commit.7d37092"
|
|
126
126
|
},
|
|
127
127
|
"optionalDependencies": {
|
|
128
|
-
"@rolldown/binding-darwin-
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-linux-arm64-
|
|
132
|
-
"@rolldown/binding-linux-
|
|
133
|
-
"@rolldown/binding-linux-
|
|
134
|
-
"@rolldown/binding-linux-
|
|
135
|
-
"@rolldown/binding-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.
|
|
138
|
-
"@rolldown/binding-win32-
|
|
139
|
-
"@rolldown/binding-win32-
|
|
128
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.7d37092",
|
|
129
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.7d37092",
|
|
130
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.7d37092",
|
|
131
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.7d37092",
|
|
132
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.7d37092",
|
|
133
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.7d37092",
|
|
134
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.7d37092",
|
|
135
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.7d37092",
|
|
136
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.7d37092",
|
|
137
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.7d37092",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.7d37092",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.7d37092"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|