rolldown 1.0.0-beta.3-commit.06b6bbf → 1.0.0-beta.3-commit.2e368ff
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-BCD11eWZ.cjs → src-Bs6tNxIc.cjs} +13 -5
- package/dist/shared/{src-CTeUVXDp.mjs → src-BwJXZqzt.mjs} +13 -5
- package/dist/types/binding.d.ts +30 -2
- package/dist/types/builtin-plugin/constructors.d.ts +2 -1
- package/dist/types/options/normalized-output-options.d.ts +3 -3
- package/dist/types/options/output-options.d.ts +6 -1
- package/package.json +16 -16
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-Bs6tNxIc.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-DTKqYZn-.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-Bs6tNxIc.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-DTKqYZn-.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-Bs6tNxIc.cjs');
|
|
4
4
|
const require_binding = require('../shared/binding-DTKqYZn-.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-CFTx0Fs7.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-BwJXZqzt.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-CFTx0Fs7.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-BwJXZqzt.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-CFTx0Fs7.mjs";
|
|
2
|
-
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-
|
|
2
|
+
import { VERSION, build, defineConfig, rolldown, watch } from "../shared/src-BwJXZqzt.mjs";
|
|
3
3
|
|
|
4
4
|
export { VERSION, build, defineConfig, rolldown, watch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { import_binding } from "../shared/binding-CFTx0Fs7.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin } from "../shared/src-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin } from "../shared/src-BwJXZqzt.mjs";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
|
|
5
5
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -235,7 +235,8 @@ function moduleFederationPlugin(config) {
|
|
|
235
235
|
...remote,
|
|
236
236
|
name: remote.name ?? name
|
|
237
237
|
};
|
|
238
|
-
})
|
|
238
|
+
}),
|
|
239
|
+
manifest: config.manifest === false ? void 0 : config.manifest === true ? {} : config.manifest
|
|
239
240
|
});
|
|
240
241
|
}
|
|
241
242
|
|
|
@@ -2266,7 +2267,13 @@ const WatchOptionsSchema = valibot.strictObject({
|
|
|
2266
2267
|
})), valibot.description("Notify options")),
|
|
2267
2268
|
skipWrite: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Skip the bundle.write() step"))
|
|
2268
2269
|
});
|
|
2269
|
-
const ChecksOptionsSchema = valibot.strictObject({ circularDependency: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("
|
|
2270
|
+
const ChecksOptionsSchema = valibot.strictObject({ circularDependency: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Whether to emit warnings when detecting circular dependencies")) });
|
|
2271
|
+
const MinifyOptionsSchema = valibot.strictObject({
|
|
2272
|
+
mangle: valibot.boolean(),
|
|
2273
|
+
compress: valibot.boolean(),
|
|
2274
|
+
deadCodeElimination: valibot.boolean(),
|
|
2275
|
+
removeWhitespace: valibot.boolean()
|
|
2276
|
+
});
|
|
2270
2277
|
const ResolveOptionsSchema = valibot.strictObject({
|
|
2271
2278
|
alias: valibot.optional(valibot.record(valibot.string(), valibot.union([valibot.string(), valibot.array(valibot.string())]))),
|
|
2272
2279
|
aliasFields: valibot.optional(valibot.array(valibot.array(valibot.string()))),
|
|
@@ -2414,7 +2421,7 @@ const OutputOptionsSchema = valibot.strictObject({
|
|
|
2414
2421
|
chunkFileNames: valibot.optional(ChunkFileNamesSchema),
|
|
2415
2422
|
cssEntryFileNames: valibot.optional(ChunkFileNamesSchema),
|
|
2416
2423
|
cssChunkFileNames: valibot.optional(ChunkFileNamesSchema),
|
|
2417
|
-
minify: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Minify the bundled file")),
|
|
2424
|
+
minify: valibot.pipe(valibot.optional(valibot.union([valibot.boolean(), MinifyOptionsSchema])), valibot.description("Minify the bundled file")),
|
|
2418
2425
|
name: valibot.pipe(valibot.optional(valibot.string()), valibot.description("Name for UMD / IIFE format outputs")),
|
|
2419
2426
|
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`)")),
|
|
2420
2427
|
externalLiveBindings: valibot.pipe(valibot.optional(valibot.boolean(), true), valibot.description("external live bindings")),
|
|
@@ -2440,7 +2447,8 @@ const OutputCliOverrideSchema = valibot.strictObject({
|
|
|
2440
2447
|
advancedChunks: valibot.pipe(valibot.optional(valibot.strictObject({
|
|
2441
2448
|
minSize: valibot.pipe(valibot.optional(valibot.number()), valibot.description("Minimum size of the chunk")),
|
|
2442
2449
|
minShareCount: valibot.pipe(valibot.optional(valibot.number()), valibot.description("Minimum share count of the chunk"))
|
|
2443
|
-
})), valibot.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)"))
|
|
2450
|
+
})), valibot.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
2451
|
+
minify: valibot.pipe(valibot.optional(valibot.boolean()), valibot.description("Minify the bundled file"))
|
|
2444
2452
|
});
|
|
2445
2453
|
const OutputCliOptionsSchema = valibot.omit(valibot.strictObject({
|
|
2446
2454
|
...OutputOptionsSchema.entries,
|
|
@@ -2685,7 +2693,7 @@ const watch = (input) => {
|
|
|
2685
2693
|
|
|
2686
2694
|
//#endregion
|
|
2687
2695
|
//#region package.json
|
|
2688
|
-
var version = "1.0.0-beta.3-commit.
|
|
2696
|
+
var version = "1.0.0-beta.3-commit.2e368ff";
|
|
2689
2697
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2690
2698
|
|
|
2691
2699
|
//#endregion
|
|
@@ -233,7 +233,8 @@ function moduleFederationPlugin(config) {
|
|
|
233
233
|
...remote,
|
|
234
234
|
name: remote.name ?? name
|
|
235
235
|
};
|
|
236
|
-
})
|
|
236
|
+
}),
|
|
237
|
+
manifest: config.manifest === false ? void 0 : config.manifest === true ? {} : config.manifest
|
|
237
238
|
});
|
|
238
239
|
}
|
|
239
240
|
|
|
@@ -2264,7 +2265,13 @@ const WatchOptionsSchema = v.strictObject({
|
|
|
2264
2265
|
})), v.description("Notify options")),
|
|
2265
2266
|
skipWrite: v.pipe(v.optional(v.boolean()), v.description("Skip the bundle.write() step"))
|
|
2266
2267
|
});
|
|
2267
|
-
const ChecksOptionsSchema = v.strictObject({ circularDependency: v.pipe(v.optional(v.boolean()), v.description("
|
|
2268
|
+
const ChecksOptionsSchema = v.strictObject({ circularDependency: v.pipe(v.optional(v.boolean()), v.description("Whether to emit warnings when detecting circular dependencies")) });
|
|
2269
|
+
const MinifyOptionsSchema = v.strictObject({
|
|
2270
|
+
mangle: v.boolean(),
|
|
2271
|
+
compress: v.boolean(),
|
|
2272
|
+
deadCodeElimination: v.boolean(),
|
|
2273
|
+
removeWhitespace: v.boolean()
|
|
2274
|
+
});
|
|
2268
2275
|
const ResolveOptionsSchema = v.strictObject({
|
|
2269
2276
|
alias: v.optional(v.record(v.string(), v.union([v.string(), v.array(v.string())]))),
|
|
2270
2277
|
aliasFields: v.optional(v.array(v.array(v.string()))),
|
|
@@ -2412,7 +2419,7 @@ const OutputOptionsSchema = v.strictObject({
|
|
|
2412
2419
|
chunkFileNames: v.optional(ChunkFileNamesSchema),
|
|
2413
2420
|
cssEntryFileNames: v.optional(ChunkFileNamesSchema),
|
|
2414
2421
|
cssChunkFileNames: v.optional(ChunkFileNamesSchema),
|
|
2415
|
-
minify: v.pipe(v.optional(v.boolean()), v.description("Minify the bundled file")),
|
|
2422
|
+
minify: v.pipe(v.optional(v.union([v.boolean(), MinifyOptionsSchema])), v.description("Minify the bundled file")),
|
|
2416
2423
|
name: v.pipe(v.optional(v.string()), v.description("Name for UMD / IIFE format outputs")),
|
|
2417
2424
|
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`)")),
|
|
2418
2425
|
externalLiveBindings: v.pipe(v.optional(v.boolean(), true), v.description("external live bindings")),
|
|
@@ -2438,7 +2445,8 @@ const OutputCliOverrideSchema = v.strictObject({
|
|
|
2438
2445
|
advancedChunks: v.pipe(v.optional(v.strictObject({
|
|
2439
2446
|
minSize: v.pipe(v.optional(v.number()), v.description("Minimum size of the chunk")),
|
|
2440
2447
|
minShareCount: v.pipe(v.optional(v.number()), v.description("Minimum share count of the chunk"))
|
|
2441
|
-
})), v.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)"))
|
|
2448
|
+
})), v.description("Global variable of UMD / IIFE dependencies (syntax: `key=value`)")),
|
|
2449
|
+
minify: v.pipe(v.optional(v.boolean()), v.description("Minify the bundled file"))
|
|
2442
2450
|
});
|
|
2443
2451
|
const OutputCliOptionsSchema = v.omit(v.strictObject({
|
|
2444
2452
|
...OutputOptionsSchema.entries,
|
|
@@ -2683,7 +2691,7 @@ const watch = (input) => {
|
|
|
2683
2691
|
|
|
2684
2692
|
//#endregion
|
|
2685
2693
|
//#region package.json
|
|
2686
|
-
var version = "1.0.0-beta.3-commit.
|
|
2694
|
+
var version = "1.0.0-beta.3-commit.2e368ff";
|
|
2687
2695
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
2688
2696
|
|
|
2689
2697
|
//#endregion
|
package/dist/types/binding.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare class BindingNormalizedOptions {
|
|
|
63
63
|
get globals(): Record<string, string> | undefined
|
|
64
64
|
get hashCharacters(): 'base64' | 'base36' | 'hex'
|
|
65
65
|
get sourcemapDebugIds(): boolean
|
|
66
|
-
get minify():
|
|
66
|
+
get minify(): false | BindingMinifyOptions
|
|
67
67
|
get polyfillRequire(): boolean
|
|
68
68
|
get comments(): 'none' | 'preserve-legal'
|
|
69
69
|
}
|
|
@@ -470,6 +470,18 @@ export interface BindingMatchGroup {
|
|
|
470
470
|
maxSize?: number
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
+
export interface BindingMfManifest {
|
|
474
|
+
filePath?: string
|
|
475
|
+
disableAssetsAnalyze?: boolean
|
|
476
|
+
fileName?: string
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
export interface BindingMinifyOptions {
|
|
480
|
+
mangle: boolean
|
|
481
|
+
compress: boolean
|
|
482
|
+
removeWhitespace: boolean
|
|
483
|
+
}
|
|
484
|
+
|
|
473
485
|
export interface BindingModuleFederationPluginOption {
|
|
474
486
|
name: string
|
|
475
487
|
filename?: string
|
|
@@ -477,6 +489,7 @@ export interface BindingModuleFederationPluginOption {
|
|
|
477
489
|
remotes?: Array<BindingRemote>
|
|
478
490
|
shared?: Record<string, BindingShared>
|
|
479
491
|
runtimePlugins?: Array<string>
|
|
492
|
+
manifest?: BindingMfManifest
|
|
480
493
|
}
|
|
481
494
|
|
|
482
495
|
export interface BindingModulePreloadPolyfillPluginConfig {
|
|
@@ -526,7 +539,7 @@ export interface BindingOutputOptions {
|
|
|
526
539
|
sourcemapIgnoreList?: (source: string, sourcemapPath: string) => boolean
|
|
527
540
|
sourcemapDebugIds?: boolean
|
|
528
541
|
sourcemapPathTransform?: (source: string, sourcemapPath: string) => string
|
|
529
|
-
minify?: boolean
|
|
542
|
+
minify?: boolean | 'dce-only' | BindingMinifyOptions
|
|
530
543
|
advancedChunks?: BindingAdvancedChunksOptions
|
|
531
544
|
comments?: 'none' | 'preserve-legal'
|
|
532
545
|
polyfillRequire?: boolean
|
|
@@ -727,6 +740,19 @@ export interface CompilerAssumptions {
|
|
|
727
740
|
setPublicClassFields?: boolean
|
|
728
741
|
}
|
|
729
742
|
|
|
743
|
+
export interface DecoratorOptions {
|
|
744
|
+
/**
|
|
745
|
+
* Enables experimental support for decorators, which is a version of decorators that predates the TC39 standardization process.
|
|
746
|
+
*
|
|
747
|
+
* Decorators are a language feature which hasn’t yet been fully ratified into the JavaScript specification.
|
|
748
|
+
* This means that the implementation version in TypeScript may differ from the implementation in JavaScript when it it decided by TC39.
|
|
749
|
+
*
|
|
750
|
+
* @see https://www.typescriptlang.org/tsconfig/#experimentalDecorators
|
|
751
|
+
* @default false
|
|
752
|
+
*/
|
|
753
|
+
legacy?: boolean
|
|
754
|
+
}
|
|
755
|
+
|
|
730
756
|
export interface DynamicImport {
|
|
731
757
|
start: number
|
|
732
758
|
end: number
|
|
@@ -1252,6 +1278,8 @@ export interface TransformOptions {
|
|
|
1252
1278
|
define?: Record<string, string>
|
|
1253
1279
|
/** Inject Plugin */
|
|
1254
1280
|
inject?: Record<string, string | [string, string]>
|
|
1281
|
+
/** Decorator plugin */
|
|
1282
|
+
decorator?: DecoratorOptions
|
|
1255
1283
|
}
|
|
1256
1284
|
|
|
1257
1285
|
export interface TransformResult {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BindingBuiltinPluginName, BindingGlobImportPluginConfig, BindingManifestPluginConfig, BindingModulePreloadPolyfillPluginConfig, BindingJsonPluginConfig, BindingBuildImportAnalysisPluginConfig, type BindingViteResolvePluginConfig, BindingModuleFederationPluginOption, BindingRemote } from '../binding';
|
|
1
|
+
import { type BindingBuiltinPluginName, BindingGlobImportPluginConfig, BindingManifestPluginConfig, BindingModulePreloadPolyfillPluginConfig, BindingJsonPluginConfig, BindingBuildImportAnalysisPluginConfig, type BindingViteResolvePluginConfig, BindingModuleFederationPluginOption, BindingRemote, BindingMfManifest } from '../binding';
|
|
2
2
|
export declare class BuiltinPlugin {
|
|
3
3
|
name: BindingBuiltinPluginName;
|
|
4
4
|
_options?: unknown | undefined;
|
|
@@ -16,5 +16,6 @@ export declare function buildImportAnalysisPlugin(config: BindingBuildImportAnal
|
|
|
16
16
|
export declare function viteResolvePlugin(config: Omit<BindingViteResolvePluginConfig, 'runtime'>): BuiltinPlugin;
|
|
17
17
|
export type ModuleFederationPluginOption = Omit<BindingModuleFederationPluginOption, 'remotes'> & {
|
|
18
18
|
remotes?: Record<string, string | BindingRemote>;
|
|
19
|
+
manifest?: boolean | BindingMfManifest;
|
|
19
20
|
};
|
|
20
21
|
export declare function moduleFederationPlugin(config: ModuleFederationPluginOption): BuiltinPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BindingNormalizedOptions } from '../binding';
|
|
1
|
+
import type { BindingMinifyOptions, BindingNormalizedOptions } from '../binding';
|
|
2
2
|
import type { SourcemapIgnoreListOption, SourcemapPathTransformOption } from '../types/misc';
|
|
3
3
|
import type { AssetFileNamesFunction, ChunkFileNamesFunction, GlobalsFunction, OutputOptions } from './output-options';
|
|
4
4
|
export type InternalModuleFormat = 'es' | 'cjs' | 'iife' | 'umd' | 'app';
|
|
@@ -27,7 +27,7 @@ export interface NormalizedOutputOptions {
|
|
|
27
27
|
sourcemapDebugIds: boolean;
|
|
28
28
|
sourcemapIgnoreList: SourcemapIgnoreListOption | undefined;
|
|
29
29
|
sourcemapPathTransform: SourcemapPathTransformOption | undefined;
|
|
30
|
-
minify:
|
|
30
|
+
minify: false | BindingMinifyOptions;
|
|
31
31
|
comments: 'none' | 'preserve-legal';
|
|
32
32
|
polyfillRequire: boolean;
|
|
33
33
|
}
|
|
@@ -60,7 +60,7 @@ export declare class NormalizedOutputOptionsImpl implements NormalizedOutputOpti
|
|
|
60
60
|
get sourcemapDebugIds(): boolean;
|
|
61
61
|
get sourcemapIgnoreList(): UnsupportedFnRet | undefined;
|
|
62
62
|
get sourcemapPathTransform(): UnsupportedFnRet | undefined;
|
|
63
|
-
get minify():
|
|
63
|
+
get minify(): false | BindingMinifyOptions;
|
|
64
64
|
get comments(): 'none' | 'preserve-legal';
|
|
65
65
|
get polyfillRequire(): boolean;
|
|
66
66
|
}
|
|
@@ -6,6 +6,11 @@ import { RenderedChunk } from '../types/rolldown-output';
|
|
|
6
6
|
export type ModuleFormat = 'es' | 'cjs' | 'esm' | 'module' | 'commonjs' | 'iife' | 'umd' | 'experimental-app';
|
|
7
7
|
export type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
|
8
8
|
export type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string;
|
|
9
|
+
export interface MinifyOptions {
|
|
10
|
+
mangle: boolean;
|
|
11
|
+
compress: boolean;
|
|
12
|
+
removeWhitespace: boolean;
|
|
13
|
+
}
|
|
9
14
|
export interface PreRenderedAsset {
|
|
10
15
|
names: string[];
|
|
11
16
|
originalFileNames: string[];
|
|
@@ -45,7 +50,7 @@ export interface OutputOptions {
|
|
|
45
50
|
cssEntryFileNames?: string | ChunkFileNamesFunction;
|
|
46
51
|
cssChunkFileNames?: string | ChunkFileNamesFunction;
|
|
47
52
|
sanitizeFileName?: boolean | ((name: string) => string);
|
|
48
|
-
minify?: boolean;
|
|
53
|
+
minify?: boolean | 'dce-only' | MinifyOptions;
|
|
49
54
|
name?: string;
|
|
50
55
|
globals?: Record<string, string> | GlobalsFunction;
|
|
51
56
|
externalLiveBindings?: boolean;
|
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.2e368ff",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -121,27 +121,27 @@
|
|
|
121
121
|
"typescript": "^5.7.3",
|
|
122
122
|
"unbuild": "^3.0.0",
|
|
123
123
|
"why-is-node-running": "^3.0.0",
|
|
124
|
-
"rolldown": "
|
|
125
|
-
"
|
|
124
|
+
"@rolldown/testing": "0.0.1",
|
|
125
|
+
"rolldown": "1.0.0-beta.3-commit.2e368ff"
|
|
126
126
|
},
|
|
127
127
|
"optionalDependencies": {
|
|
128
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.3-commit.
|
|
129
|
-
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.
|
|
130
|
-
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.
|
|
131
|
-
"@rolldown/binding-linux-
|
|
132
|
-
"@rolldown/binding-linux-
|
|
133
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.
|
|
134
|
-
"@rolldown/binding-linux-x64-
|
|
135
|
-
"@rolldown/binding-
|
|
136
|
-
"@rolldown/binding-
|
|
137
|
-
"@rolldown/binding-
|
|
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.2e368ff",
|
|
129
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.3-commit.2e368ff",
|
|
130
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.3-commit.2e368ff",
|
|
131
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.3-commit.2e368ff",
|
|
132
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.3-commit.2e368ff",
|
|
133
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.3-commit.2e368ff",
|
|
134
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.3-commit.2e368ff",
|
|
135
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.3-commit.2e368ff",
|
|
136
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.3-commit.2e368ff",
|
|
137
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.3-commit.2e368ff",
|
|
138
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.3-commit.2e368ff",
|
|
139
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.3-commit.2e368ff"
|
|
140
140
|
},
|
|
141
141
|
"scripts": {
|
|
142
142
|
"# Scrips for binding #": "_",
|
|
143
143
|
"artifacts": "napi artifacts --cwd ./src --package-json-path ../package.json -o=../artifacts --npm-dir ../npm",
|
|
144
|
-
"build-binding": "napi build -o=./src --manifest-path ../../crates/rolldown_binding/Cargo.toml --platform -p rolldown_binding --js binding.js --dts binding.d.ts --no-const-enum",
|
|
144
|
+
"build-binding": "napi build -o=./src --manifest-path ../../crates/rolldown_binding/Cargo.toml --platform -p rolldown_binding --js binding.js --dts binding.d.ts --no-const-enum --no-dts-cache",
|
|
145
145
|
"build-binding:release": "pnpm build-binding --release",
|
|
146
146
|
"build-binding:wasi": "pnpm build-binding --target wasm32-wasip1-threads",
|
|
147
147
|
"build-binding:wasi:release": "pnpm build-binding --profile release-wasi --target wasm32-wasip1-threads",
|