rolldown 0.12.2-snapshot-dddb9ce-20240729002933 → 0.12.2-snapshot-2d6763b-20240731002809
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/index.cjs +2 -2
- package/dist/cjs/parallel-plugin-worker.cjs +1 -1
- package/dist/esm/cli.mjs +2 -2
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/parallel-plugin-worker.mjs +1 -1
- package/dist/shared/{rolldown-n8WcwF0I.cjs → rolldown-TvRnNvOp.cjs} +1 -1
- package/dist/shared/{rolldown-xDYHLRox.mjs → rolldown-u4rBKx-Y.mjs} +1 -1
- package/dist/shared/{utils_index--Pf-VnPT.mjs → utils_index-kVSHyh8h.mjs} +10 -2
- package/dist/shared/{utils_index-I63DBSGJ.cjs → utils_index-wl9hyJmH.cjs} +10 -2
- package/package.json +14 -14
package/dist/cjs/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { __commonJSMin, __export, __toESM } = require("../shared/chunk-whRFQvSK.cjs");
|
|
2
|
-
const { arraify } = require("../shared/utils_index-
|
|
3
|
-
const { rolldown } = require("../shared/rolldown-
|
|
2
|
+
const { arraify } = require("../shared/utils_index-wl9hyJmH.cjs");
|
|
3
|
+
const { rolldown } = require("../shared/rolldown-TvRnNvOp.cjs");
|
|
4
4
|
const { colors, consola, createConsola } = require("../shared/consola.36c0034f-UsYo1a5T.cjs");
|
|
5
5
|
const { pathToFileURL } = __toESM(require("node:url"));
|
|
6
6
|
const { default: nodePath } = __toESM(require("node:path"));
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
const { __toESM } = require("../shared/chunk-whRFQvSK.cjs");
|
|
4
|
-
const { BuiltinGlobImportPlugin, BuiltinWasmPlugin, require_binding } = require("../shared/utils_index-
|
|
5
|
-
const { experimental_scan, rolldown } = require("../shared/rolldown-
|
|
4
|
+
const { BuiltinGlobImportPlugin, BuiltinWasmPlugin, require_binding } = require("../shared/utils_index-wl9hyJmH.cjs");
|
|
5
|
+
const { experimental_scan, rolldown } = require("../shared/rolldown-TvRnNvOp.cjs");
|
|
6
6
|
const { pathToFileURL } = __toESM(require("node:url"));
|
|
7
7
|
|
|
8
8
|
//#region src/plugin/parallel-plugin.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
const { __toESM } = require("../shared/chunk-whRFQvSK.cjs");
|
|
4
|
-
const { bindingifyPlugin, require_binding } = require("../shared/utils_index-
|
|
4
|
+
const { bindingifyPlugin, require_binding } = require("../shared/utils_index-wl9hyJmH.cjs");
|
|
5
5
|
const { parentPort, workerData } = __toESM(require("node:worker_threads"));
|
|
6
6
|
|
|
7
7
|
//#region src/parallel-plugin-worker.ts
|
package/dist/esm/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import __node_module__ from 'node:module';
|
|
2
2
|
const require = __node_module__.createRequire(import.meta.url)
|
|
3
|
-
import { __commonJSMin, __export, __toESM, arraify } from "../shared/utils_index
|
|
4
|
-
import { rolldown } from "../shared/rolldown-
|
|
3
|
+
import { __commonJSMin, __export, __toESM, arraify } from "../shared/utils_index-kVSHyh8h.mjs";
|
|
4
|
+
import { rolldown } from "../shared/rolldown-u4rBKx-Y.mjs";
|
|
5
5
|
import { colors, consola, createConsola } from "../shared/consola.36c0034f-VfFiWRgU.mjs";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
7
7
|
import { default as nodePath } from "node:path";
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import __node_module__ from 'node:module';
|
|
2
2
|
const require = __node_module__.createRequire(import.meta.url)
|
|
3
|
-
import { BuiltinGlobImportPlugin, BuiltinWasmPlugin, __toESM, require_binding } from "../shared/utils_index
|
|
4
|
-
import { experimental_scan, rolldown } from "../shared/rolldown-
|
|
3
|
+
import { BuiltinGlobImportPlugin, BuiltinWasmPlugin, __toESM, require_binding } from "../shared/utils_index-kVSHyh8h.mjs";
|
|
4
|
+
import { experimental_scan, rolldown } from "../shared/rolldown-u4rBKx-Y.mjs";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/plugin/parallel-plugin.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __node_module__ from 'node:module';
|
|
2
2
|
const require = __node_module__.createRequire(import.meta.url)
|
|
3
|
-
import { __toESM, bindingifyPlugin, require_binding } from "../shared/utils_index
|
|
3
|
+
import { __toESM, bindingifyPlugin, require_binding } from "../shared/utils_index-kVSHyh8h.mjs";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
|
|
6
6
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __node_module__ from 'node:module';
|
|
2
2
|
const require = __node_module__.createRequire(import.meta.url)
|
|
3
|
-
import { createBundler, transformToRollupOutput } from "./utils_index
|
|
3
|
+
import { createBundler, transformToRollupOutput } from "./utils_index-kVSHyh8h.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/rolldown-build.ts
|
|
6
6
|
class RolldownBuild {
|
|
@@ -1718,14 +1718,22 @@ function composeJsPlugins(plugins) {
|
|
|
1718
1718
|
toBeComposed.push(plugin);
|
|
1719
1719
|
} else {
|
|
1720
1720
|
if (toBeComposed.length > 0) {
|
|
1721
|
-
|
|
1721
|
+
if (toBeComposed.length > 1) {
|
|
1722
|
+
newPlugins.push(createComposedPlugin(toBeComposed));
|
|
1723
|
+
} else {
|
|
1724
|
+
newPlugins.push(toBeComposed[0]);
|
|
1725
|
+
}
|
|
1722
1726
|
toBeComposed.length = 0;
|
|
1723
1727
|
}
|
|
1724
1728
|
newPlugins.push(plugin);
|
|
1725
1729
|
}
|
|
1726
1730
|
});
|
|
1727
1731
|
if (toBeComposed.length > 0) {
|
|
1728
|
-
|
|
1732
|
+
if (toBeComposed.length > 1) {
|
|
1733
|
+
newPlugins.push(createComposedPlugin(toBeComposed));
|
|
1734
|
+
} else {
|
|
1735
|
+
newPlugins.push(toBeComposed[0]);
|
|
1736
|
+
}
|
|
1729
1737
|
toBeComposed.length = 0;
|
|
1730
1738
|
}
|
|
1731
1739
|
return newPlugins;
|
|
@@ -1687,14 +1687,22 @@ function composeJsPlugins(plugins) {
|
|
|
1687
1687
|
toBeComposed.push(plugin);
|
|
1688
1688
|
} else {
|
|
1689
1689
|
if (toBeComposed.length > 0) {
|
|
1690
|
-
|
|
1690
|
+
if (toBeComposed.length > 1) {
|
|
1691
|
+
newPlugins.push(createComposedPlugin(toBeComposed));
|
|
1692
|
+
} else {
|
|
1693
|
+
newPlugins.push(toBeComposed[0]);
|
|
1694
|
+
}
|
|
1691
1695
|
toBeComposed.length = 0;
|
|
1692
1696
|
}
|
|
1693
1697
|
newPlugins.push(plugin);
|
|
1694
1698
|
}
|
|
1695
1699
|
});
|
|
1696
1700
|
if (toBeComposed.length > 0) {
|
|
1697
|
-
|
|
1701
|
+
if (toBeComposed.length > 1) {
|
|
1702
|
+
newPlugins.push(createComposedPlugin(toBeComposed));
|
|
1703
|
+
} else {
|
|
1704
|
+
newPlugins.push(toBeComposed[0]);
|
|
1705
|
+
}
|
|
1698
1706
|
toBeComposed.length = 0;
|
|
1699
1707
|
}
|
|
1700
1708
|
return newPlugins;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "0.12.2-snapshot-
|
|
3
|
+
"version": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -97,21 +97,21 @@
|
|
|
97
97
|
"vitest": "^1.6.0",
|
|
98
98
|
"why-is-node-running": "^2.2.2",
|
|
99
99
|
"@rolldown/testing": "0.0.1",
|
|
100
|
-
"rolldown": "0.12.2-snapshot-
|
|
100
|
+
"rolldown": "0.12.2-snapshot-2d6763b-20240731002809"
|
|
101
101
|
},
|
|
102
102
|
"optionalDependencies": {
|
|
103
|
-
"@rolldown/binding-darwin-
|
|
104
|
-
"@rolldown/binding-darwin-
|
|
105
|
-
"@rolldown/binding-freebsd-x64": "0.12.2-snapshot-
|
|
106
|
-
"@rolldown/binding-linux-arm-gnueabihf": "0.12.2-snapshot-
|
|
107
|
-
"@rolldown/binding-linux-arm64-
|
|
108
|
-
"@rolldown/binding-linux-
|
|
109
|
-
"@rolldown/binding-linux-
|
|
110
|
-
"@rolldown/binding-
|
|
111
|
-
"@rolldown/binding-
|
|
112
|
-
"@rolldown/binding-win32-arm64-msvc": "0.12.2-snapshot-
|
|
113
|
-
"@rolldown/binding-win32-ia32-msvc": "0.12.2-snapshot-
|
|
114
|
-
"@rolldown/binding-win32-x64-msvc": "0.12.2-snapshot-
|
|
103
|
+
"@rolldown/binding-darwin-x64": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
104
|
+
"@rolldown/binding-darwin-arm64": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
105
|
+
"@rolldown/binding-freebsd-x64": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
106
|
+
"@rolldown/binding-linux-arm-gnueabihf": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
107
|
+
"@rolldown/binding-linux-arm64-musl": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
108
|
+
"@rolldown/binding-linux-x64-gnu": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
109
|
+
"@rolldown/binding-linux-arm64-gnu": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
110
|
+
"@rolldown/binding-wasm32-wasi": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
111
|
+
"@rolldown/binding-linux-x64-musl": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
112
|
+
"@rolldown/binding-win32-arm64-msvc": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
113
|
+
"@rolldown/binding-win32-ia32-msvc": "0.12.2-snapshot-2d6763b-20240731002809",
|
|
114
|
+
"@rolldown/binding-win32-x64-msvc": "0.12.2-snapshot-2d6763b-20240731002809"
|
|
115
115
|
},
|
|
116
116
|
"scripts": {
|
|
117
117
|
"# Scrips for binding #": "_",
|