rolldown 1.0.0-beta.3-commit.794a63d → 1.0.0-beta.3-commit.bc5b1e7
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 +1 -1
- package/dist/cjs/experimental-index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/parallel-plugin-worker.cjs +1 -1
- package/dist/esm/cli.mjs +1 -1
- package/dist/esm/experimental-index.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/parallel-plugin-worker.mjs +1 -1
- package/dist/shared/{src-BSqBdtk0.mjs → src-CCn-WWZi.mjs} +5 -3
- package/dist/shared/{src-Dx8fkii5.cjs → src-ZD2NlmHq.cjs} +5 -3
- package/dist/types/binding.d.ts +1 -0
- package/dist/types/options/input-options.d.ts +1 -0
- package/dist/types/utils/bindingify-input-options.js +1 -0
- package/dist/types/utils/validator.js +1 -0
- package/package.json +15 -15
package/dist/cjs/cli.cjs
CHANGED
|
@@ -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-ZD2NlmHq.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-orkvONpS.cjs');
|
|
5
5
|
const node_process = require_chunk.__toESM(require("node:process"));
|
|
6
6
|
const node_path = require_chunk.__toESM(require("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-ZD2NlmHq.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-orkvONpS.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -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-ZD2NlmHq.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-orkvONpS.cjs');
|
|
5
5
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
6
6
|
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { colors } from "../shared/binding-l7VLSKnB.mjs";
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, rolldown, validateCliOptions, version, watch } from "../shared/src-CCn-WWZi.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
1
|
import { import_binding } from "../shared/binding-l7VLSKnB.mjs";
|
|
2
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-
|
|
2
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/src-CCn-WWZi.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
1
|
import "../shared/binding-l7VLSKnB.mjs";
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-CCn-WWZi.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { import_binding } from "../shared/binding-l7VLSKnB.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-CCn-WWZi.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1560,7 +1560,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, onLog,
|
|
|
1560
1560
|
strictExecutionOrder: inputOptions.experimental?.strictExecutionOrder,
|
|
1561
1561
|
disableLiveBindings: inputOptions.experimental?.disableLiveBindings,
|
|
1562
1562
|
viteMode: inputOptions.experimental?.viteMode,
|
|
1563
|
-
resolveNewUrlToAsset: inputOptions.experimental?.resolveNewUrlToAsset
|
|
1563
|
+
resolveNewUrlToAsset: inputOptions.experimental?.resolveNewUrlToAsset,
|
|
1564
|
+
developmentMode: inputOptions.experimental?.developmentMode
|
|
1564
1565
|
},
|
|
1565
1566
|
profilerNames: inputOptions?.profilerNames,
|
|
1566
1567
|
jsx: bindingifyJsx(inputOptions.jsx),
|
|
@@ -2267,7 +2268,8 @@ const InputOptionsSchema = v.strictObject({
|
|
|
2267
2268
|
disableLiveBindings: v.optional(v.boolean()),
|
|
2268
2269
|
enableComposingJsPlugins: v.optional(v.boolean()),
|
|
2269
2270
|
resolveNewUrlToAsset: v.optional(v.boolean()),
|
|
2270
|
-
strictExecutionOrder: v.optional(v.boolean())
|
|
2271
|
+
strictExecutionOrder: v.optional(v.boolean()),
|
|
2272
|
+
developmentMode: v.optional(v.boolean())
|
|
2271
2273
|
})),
|
|
2272
2274
|
define: v.pipe(v.optional(v.record(v.string(), v.string())), v.description("Define global variables")),
|
|
2273
2275
|
inject: v.optional(v.record(v.string(), v.union([v.string(), v.tuple([v.string(), v.string()])]))),
|
|
@@ -2643,7 +2645,7 @@ const watch = (input) => {
|
|
|
2643
2645
|
|
|
2644
2646
|
//#endregion
|
|
2645
2647
|
//#region package.json
|
|
2646
|
-
var version = "1.0.0-beta.3-commit.
|
|
2648
|
+
var version = "1.0.0-beta.3-commit.bc5b1e7";
|
|
2647
2649
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2648
2650
|
|
|
2649
2651
|
//#endregion
|
|
@@ -1562,7 +1562,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, onLog,
|
|
|
1562
1562
|
strictExecutionOrder: inputOptions.experimental?.strictExecutionOrder,
|
|
1563
1563
|
disableLiveBindings: inputOptions.experimental?.disableLiveBindings,
|
|
1564
1564
|
viteMode: inputOptions.experimental?.viteMode,
|
|
1565
|
-
resolveNewUrlToAsset: inputOptions.experimental?.resolveNewUrlToAsset
|
|
1565
|
+
resolveNewUrlToAsset: inputOptions.experimental?.resolveNewUrlToAsset,
|
|
1566
|
+
developmentMode: inputOptions.experimental?.developmentMode
|
|
1566
1567
|
},
|
|
1567
1568
|
profilerNames: inputOptions?.profilerNames,
|
|
1568
1569
|
jsx: bindingifyJsx(inputOptions.jsx),
|
|
@@ -2269,7 +2270,8 @@ const InputOptionsSchema = valibot.strictObject({
|
|
|
2269
2270
|
disableLiveBindings: valibot.optional(valibot.boolean()),
|
|
2270
2271
|
enableComposingJsPlugins: valibot.optional(valibot.boolean()),
|
|
2271
2272
|
resolveNewUrlToAsset: valibot.optional(valibot.boolean()),
|
|
2272
|
-
strictExecutionOrder: valibot.optional(valibot.boolean())
|
|
2273
|
+
strictExecutionOrder: valibot.optional(valibot.boolean()),
|
|
2274
|
+
developmentMode: valibot.optional(valibot.boolean())
|
|
2273
2275
|
})),
|
|
2274
2276
|
define: valibot.pipe(valibot.optional(valibot.record(valibot.string(), valibot.string())), valibot.description("Define global variables")),
|
|
2275
2277
|
inject: valibot.optional(valibot.record(valibot.string(), valibot.union([valibot.string(), valibot.tuple([valibot.string(), valibot.string()])]))),
|
|
@@ -2645,7 +2647,7 @@ const watch = (input) => {
|
|
|
2645
2647
|
|
|
2646
2648
|
//#endregion
|
|
2647
2649
|
//#region package.json
|
|
2648
|
-
var version = "1.0.0-beta.3-commit.
|
|
2650
|
+
var version = "1.0.0-beta.3-commit.bc5b1e7";
|
|
2649
2651
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2650
2652
|
|
|
2651
2653
|
//#endregion
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export interface InputOptions {
|
|
|
75
75
|
disableLiveBindings?: boolean;
|
|
76
76
|
viteMode?: boolean;
|
|
77
77
|
resolveNewUrlToAsset?: boolean;
|
|
78
|
+
developmentMode?: boolean;
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Replace global variables or [property accessors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_accessors) with the provided values.
|
|
@@ -40,6 +40,7 @@ export function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions,
|
|
|
40
40
|
disableLiveBindings: inputOptions.experimental?.disableLiveBindings,
|
|
41
41
|
viteMode: inputOptions.experimental?.viteMode,
|
|
42
42
|
resolveNewUrlToAsset: inputOptions.experimental?.resolveNewUrlToAsset,
|
|
43
|
+
developmentMode: inputOptions.experimental?.developmentMode,
|
|
43
44
|
},
|
|
44
45
|
profilerNames: inputOptions?.profilerNames,
|
|
45
46
|
jsx: bindingifyJsx(inputOptions.jsx),
|
|
@@ -106,6 +106,7 @@ const InputOptionsSchema = v.strictObject({
|
|
|
106
106
|
enableComposingJsPlugins: v.optional(v.boolean()),
|
|
107
107
|
resolveNewUrlToAsset: v.optional(v.boolean()),
|
|
108
108
|
strictExecutionOrder: v.optional(v.boolean()),
|
|
109
|
+
developmentMode: v.optional(v.boolean()),
|
|
109
110
|
})),
|
|
110
111
|
define: v.pipe(v.optional(v.record(v.string(), v.string())), v.description('Define global variables')),
|
|
111
112
|
inject: v.optional(v.record(v.string(), v.union([v.string(), v.tuple([v.string(), v.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.bc5b1e7",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -122,22 +122,22 @@
|
|
|
122
122
|
"typescript": "^5.7.3",
|
|
123
123
|
"unbuild": "^3.0.0",
|
|
124
124
|
"why-is-node-running": "^3.0.0",
|
|
125
|
-
"
|
|
126
|
-
"rolldown": "
|
|
125
|
+
"rolldown": "1.0.0-beta.3-commit.bc5b1e7",
|
|
126
|
+
"@rolldown/testing": "0.0.1"
|
|
127
127
|
},
|
|
128
128
|
"optionalDependencies": {
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.
|
|
131
|
-
"@rolldown/binding-linux-
|
|
132
|
-
"@rolldown/binding-
|
|
133
|
-
"@rolldown/binding-
|
|
134
|
-
"@rolldown/binding-linux-
|
|
135
|
-
"@rolldown/binding-linux-x64-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-
|
|
138
|
-
"@rolldown/binding-win32-
|
|
139
|
-
"@rolldown/binding-win32-
|
|
140
|
-
"@rolldown/binding-
|
|
129
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.bc5b1e7",
|
|
130
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.bc5b1e7",
|
|
131
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.bc5b1e7",
|
|
132
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.bc5b1e7",
|
|
133
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.bc5b1e7",
|
|
134
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.bc5b1e7",
|
|
135
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.bc5b1e7",
|
|
136
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.bc5b1e7",
|
|
137
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.bc5b1e7",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.bc5b1e7",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.bc5b1e7",
|
|
140
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.bc5b1e7"
|
|
141
141
|
},
|
|
142
142
|
"scripts": {
|
|
143
143
|
"# Scrips for binding #": "_",
|