rolldown 1.0.0-beta.3-commit.e71f948 → 1.0.0-beta.3-commit.e170e6e
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-C82jqmOo.cjs → src-CLo-BgXK.cjs} +6 -2
- package/dist/shared/{src-DdLzruqH.mjs → src-CTS_IQ3m.mjs} +6 -2
- package/dist/types/plugin/minimal-plugin-context.d.ts +1 -1
- package/dist/types/plugin/plugin-context.d.ts +1 -1
- package/dist/types/plugin/transform-plugin-context.d.ts +1 -1
- package/dist/types/types/assert.d.ts +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-CLo-BgXK.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.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-CLo-BgXK.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.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-CLo-BgXK.cjs');
|
|
4
4
|
const require_parse_ast_index = require('../shared/parse-ast-index-Dh_sWnMa.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/parse-ast-index-DIxeQDpE.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-CTS_IQ3m.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/parse-ast-index-DIxeQDpE.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-CTS_IQ3m.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/parse-ast-index-DIxeQDpE.mjs";
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-CTS_IQ3m.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { import_binding } from "../shared/parse-ast-index-DIxeQDpE.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-CTS_IQ3m.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -675,7 +675,11 @@ const OutputOptionsSchema = valibot.strictObject({
|
|
|
675
675
|
cssEntryFileNames: valibot.optional(ChunkFileNamesSchema),
|
|
676
676
|
cssChunkFileNames: valibot.optional(ChunkFileNamesSchema),
|
|
677
677
|
sanitizeFileName: valibot.optional(SanitizeFileNameSchema),
|
|
678
|
-
minify: valibot.pipe(valibot.optional(valibot.union([
|
|
678
|
+
minify: valibot.pipe(valibot.optional(valibot.union([
|
|
679
|
+
valibot.boolean(),
|
|
680
|
+
valibot.string("dce-only"),
|
|
681
|
+
MinifyOptionsSchema
|
|
682
|
+
])), valibot.description("Minify the bundled file")),
|
|
679
683
|
name: valibot.pipe(valibot.optional(valibot.string()), valibot.description("Name for UMD / IIFE format outputs")),
|
|
680
684
|
globals: valibot.pipe(valibot.optional(valibot.union([valibot.record(valibot.string(), valibot.string()), GlobalsFunctionSchema])), valibot.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
681
685
|
externalLiveBindings: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("external live bindings")),
|
|
@@ -2797,7 +2801,7 @@ const watch = (input) => {
|
|
|
2797
2801
|
|
|
2798
2802
|
//#endregion
|
|
2799
2803
|
//#region package.json
|
|
2800
|
-
var version = "1.0.0-beta.3-commit.
|
|
2804
|
+
var version = "1.0.0-beta.3-commit.e170e6e";
|
|
2801
2805
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2802
2806
|
|
|
2803
2807
|
//#endregion
|
|
@@ -673,7 +673,11 @@ const OutputOptionsSchema = v.strictObject({
|
|
|
673
673
|
cssEntryFileNames: v.optional(ChunkFileNamesSchema),
|
|
674
674
|
cssChunkFileNames: v.optional(ChunkFileNamesSchema),
|
|
675
675
|
sanitizeFileName: v.optional(SanitizeFileNameSchema),
|
|
676
|
-
minify: v.pipe(v.optional(v.union([
|
|
676
|
+
minify: v.pipe(v.optional(v.union([
|
|
677
|
+
v.boolean(),
|
|
678
|
+
v.string("dce-only"),
|
|
679
|
+
MinifyOptionsSchema
|
|
680
|
+
])), v.description("Minify the bundled file")),
|
|
677
681
|
name: v.pipe(v.optional(v.string()), v.description("Name for UMD / IIFE format outputs")),
|
|
678
682
|
globals: v.pipe(v.optional(v.union([v.record(v.string(), v.string()), GlobalsFunctionSchema])), v.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
679
683
|
externalLiveBindings: v.pipe(v.optional(v.boolean()), v.description("external live bindings")),
|
|
@@ -2795,7 +2799,7 @@ const watch = (input) => {
|
|
|
2795
2799
|
|
|
2796
2800
|
//#endregion
|
|
2797
2801
|
//#region package.json
|
|
2798
|
-
var version = "1.0.0-beta.3-commit.
|
|
2802
|
+
var version = "1.0.0-beta.3-commit.e170e6e";
|
|
2799
2803
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2800
2804
|
|
|
2801
2805
|
//#endregion
|
|
@@ -12,7 +12,7 @@ export interface MinimalPluginContext {
|
|
|
12
12
|
debug: LoggingFunction;
|
|
13
13
|
meta: PluginContextMeta;
|
|
14
14
|
}
|
|
15
|
-
export declare class MinimalPluginContextImpl
|
|
15
|
+
export declare class MinimalPluginContextImpl {
|
|
16
16
|
readonly pluginName: string;
|
|
17
17
|
info: LoggingFunction;
|
|
18
18
|
warn: LoggingFunction;
|
|
@@ -45,7 +45,7 @@ export interface PluginContext extends MinimalPluginContext {
|
|
|
45
45
|
parse(input: string, options?: ParserOptions | undefined | null): Program;
|
|
46
46
|
resolve(source: string, importer?: string, options?: PluginContextResolveOptions): Promise<ResolvedId | null>;
|
|
47
47
|
}
|
|
48
|
-
export declare class PluginContextImpl extends MinimalPluginContextImpl
|
|
48
|
+
export declare class PluginContextImpl extends MinimalPluginContextImpl {
|
|
49
49
|
private outputOptions;
|
|
50
50
|
private context;
|
|
51
51
|
private data;
|
|
@@ -15,7 +15,7 @@ export interface TransformPluginContext extends PluginContext {
|
|
|
15
15
|
}): never;
|
|
16
16
|
getCombinedSourcemap(): SourceMap;
|
|
17
17
|
}
|
|
18
|
-
export declare class TransformPluginContextImpl extends PluginContextImpl
|
|
18
|
+
export declare class TransformPluginContextImpl extends PluginContextImpl {
|
|
19
19
|
private inner;
|
|
20
20
|
private moduleId;
|
|
21
21
|
private moduleSource;
|
|
@@ -9,5 +9,6 @@ export type ShowPropertiesEqualStatus<A, B> = {
|
|
|
9
9
|
[K in keyof A]: K extends keyof B ? IsEqual<A[K], B[K]> : true;
|
|
10
10
|
};
|
|
11
11
|
export type IsPropertiesEqual<A, B> = IsValuesOfObjectAllTrue<ShowPropertiesEqualStatus<A, B>>;
|
|
12
|
+
export type Extends<A, B> = A extends B ? true : false;
|
|
12
13
|
export type AssertNever<T extends never> = T;
|
|
13
14
|
export {};
|
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.e170e6e",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -121,22 +121,22 @@
|
|
|
121
121
|
"typescript": "^5.7.3",
|
|
122
122
|
"unbuild": "^3.0.0",
|
|
123
123
|
"why-is-node-running": "^3.0.0",
|
|
124
|
-
"
|
|
125
|
-
"rolldown": "
|
|
124
|
+
"rolldown": "1.0.0-beta.3-commit.e170e6e",
|
|
125
|
+
"@rolldown/testing": "0.0.1"
|
|
126
126
|
},
|
|
127
127
|
"optionalDependencies": {
|
|
128
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-
|
|
131
|
-
"@rolldown/binding-linux-
|
|
132
|
-
"@rolldown/binding-
|
|
133
|
-
"@rolldown/binding-linux-arm64-
|
|
134
|
-
"@rolldown/binding-linux-x64-
|
|
135
|
-
"@rolldown/binding-linux-x64-
|
|
136
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.
|
|
137
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.
|
|
138
|
-
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.
|
|
139
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.
|
|
128
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.e170e6e",
|
|
129
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.e170e6e",
|
|
130
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.e170e6e",
|
|
131
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.e170e6e",
|
|
132
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.e170e6e",
|
|
133
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.e170e6e",
|
|
134
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.e170e6e",
|
|
135
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.e170e6e",
|
|
136
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.e170e6e",
|
|
137
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.e170e6e",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.e170e6e",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.e170e6e"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|