Comparing version 0.14.0-snapshot-beec3a9-20241107221705 to 0.14.0-snapshot-cf2eed0-20241110003502
@@ -305,2 +305,3 @@ type MaybePromise<T> = T | Promise<T> | ||
globals?: Record<string, string> | ||
hashCharacters?: 'base64' | 'base36' | 'hex' | ||
inlineDynamicImports?: boolean | ||
@@ -316,2 +317,3 @@ intro?: (chunk: RenderedChunk) => MaybePromise<VoidNullable<string>> | ||
advancedChunks?: BindingAdvancedChunksOptions | ||
comments?: 'none' | 'preserve-legal' | ||
} | ||
@@ -318,0 +320,0 @@ |
@@ -141,2 +141,3 @@ import type { ObjectSchema } from './types'; | ||
exports: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"named">]>, z.ZodLiteral<"default">]>, z.ZodLiteral<"none">]>>; | ||
hashCharacters: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"base64">, z.ZodLiteral<"base36">]>, z.ZodLiteral<"hex">]>>; | ||
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>; | ||
@@ -205,2 +206,3 @@ sourcemap: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"inline">]>, z.ZodLiteral<"hidden">]>>; | ||
}>>; | ||
comments: z.ZodOptional<z.ZodEnum<["none", "preserve-legal"]>>; | ||
}, { | ||
@@ -229,3 +231,3 @@ banner: z.ZodOptional<z.ZodString>; | ||
logLevel?: "info" | "debug" | "warn" | "silent" | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
define?: Record<string, string> | undefined; | ||
@@ -257,2 +259,3 @@ inject?: Record<string, string> | undefined; | ||
dir?: string | undefined; | ||
hashCharacters?: "base64" | "base36" | "hex" | undefined; | ||
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined; | ||
@@ -270,2 +273,3 @@ sourcemap?: boolean | "inline" | "hidden" | undefined; | ||
inlineDynamicImports?: boolean | undefined; | ||
comments?: "none" | "preserve-legal" | undefined; | ||
version?: boolean | undefined; | ||
@@ -281,3 +285,3 @@ config?: string | boolean | undefined; | ||
logLevel?: "info" | "debug" | "warn" | "silent" | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
define?: Record<string, string> | undefined; | ||
@@ -309,2 +313,3 @@ inject?: Record<string, string> | undefined; | ||
dir?: string | undefined; | ||
hashCharacters?: "base64" | "base36" | "hex" | undefined; | ||
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined; | ||
@@ -322,2 +327,3 @@ sourcemap?: boolean | "inline" | "hidden" | undefined; | ||
inlineDynamicImports?: boolean | undefined; | ||
comments?: "none" | "preserve-legal" | undefined; | ||
version?: boolean | undefined; | ||
@@ -324,0 +330,0 @@ config?: string | boolean | undefined; |
@@ -153,3 +153,3 @@ import { z } from 'zod'; | ||
onwarn?: ((args_0: any, args_1: (args_0: any, ...args: unknown[]) => unknown, ...args: unknown[]) => unknown) | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
experimental?: { | ||
@@ -207,3 +207,3 @@ strictExecutionOrder?: boolean | undefined; | ||
onwarn?: ((args_0: any, args_1: (args_0: any, ...args: unknown[]) => unknown, ...args: unknown[]) => unknown) | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
experimental?: { | ||
@@ -374,3 +374,3 @@ strictExecutionOrder?: boolean | undefined; | ||
logLevel?: "info" | "debug" | "warn" | "silent" | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
define?: Record<string, string> | undefined; | ||
@@ -395,3 +395,3 @@ inject?: Record<string, string> | undefined; | ||
logLevel?: "info" | "debug" | "warn" | "silent" | undefined; | ||
moduleTypes?: Record<string, "jsx" | "js" | "ts" | "tsx" | "json" | "text" | "base64" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
moduleTypes?: Record<string, "jsx" | "base64" | "js" | "ts" | "tsx" | "json" | "text" | "dataurl" | "binary" | "empty" | "css"> | undefined; | ||
define?: Record<string, string> | undefined; | ||
@@ -398,0 +398,0 @@ inject?: Record<string, string> | undefined; |
@@ -8,2 +8,3 @@ import { z } from 'zod'; | ||
exports: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"named">]>, z.ZodLiteral<"default">]>, z.ZodLiteral<"none">]>>; | ||
hashCharacters: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"base64">, z.ZodLiteral<"base36">]>, z.ZodLiteral<"hex">]>>; | ||
format: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"es">, z.ZodLiteral<"cjs">]>, z.ZodLiteral<"esm">]>, z.ZodLiteral<"module">]>, z.ZodLiteral<"commonjs">]>, z.ZodLiteral<"iife">]>, z.ZodLiteral<"umd">]>>; | ||
@@ -72,2 +73,3 @@ sourcemap: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"inline">]>, z.ZodLiteral<"hidden">]>>; | ||
}>>; | ||
comments: z.ZodOptional<z.ZodEnum<["none", "preserve-legal"]>>; | ||
}, { | ||
@@ -103,2 +105,3 @@ banner: z.ZodOptional<z.ZodString>; | ||
dir?: string | undefined; | ||
hashCharacters?: "base64" | "base36" | "hex" | undefined; | ||
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined; | ||
@@ -116,2 +119,3 @@ sourcemap?: boolean | "inline" | "hidden" | undefined; | ||
inlineDynamicImports?: boolean | undefined; | ||
comments?: "none" | "preserve-legal" | undefined; | ||
}, { | ||
@@ -131,2 +135,3 @@ footer?: string | undefined; | ||
dir?: string | undefined; | ||
hashCharacters?: "base64" | "base36" | "hex" | undefined; | ||
format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | undefined; | ||
@@ -144,2 +149,3 @@ sourcemap?: boolean | "inline" | "hidden" | undefined; | ||
inlineDynamicImports?: boolean | undefined; | ||
comments?: "none" | "preserve-legal" | undefined; | ||
}>; |
@@ -11,2 +11,3 @@ import type { StringOrRegExp } from './utils'; | ||
exports?: 'auto' | 'named' | 'default' | 'none'; | ||
hashCharacters?: 'base64' | 'base36' | 'hex'; | ||
format?: ModuleFormat; | ||
@@ -43,2 +44,9 @@ sourcemap?: boolean | 'inline' | 'hidden'; | ||
}; | ||
/** | ||
* Control comments in the output. | ||
* | ||
* - `none`: no comments | ||
* - `preserve-legal`: preserve comments that contain `@license`, `@preserve` or starts with `//!` `/*!` | ||
*/ | ||
comments?: 'none' | 'preserve-legal'; | ||
} | ||
@@ -45,0 +53,0 @@ interface OverwriteOutputOptionsForCli { |
{ | ||
"name": "rolldown", | ||
"version": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"version": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.", | ||
@@ -107,17 +107,17 @@ "homepage": "https://rolldown.rs/", | ||
"@rolldown/testing": "0.0.1", | ||
"rolldown": "0.14.0-snapshot-beec3a9-20241107221705" | ||
"rolldown": "0.14.0-snapshot-cf2eed0-20241110003502" | ||
}, | ||
"optionalDependencies": { | ||
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-beec3a9-20241107221705", | ||
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-beec3a9-20241107221705" | ||
"@rolldown/binding-darwin-arm64": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-darwin-x64": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-linux-arm-gnueabihf": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-linux-arm64-gnu": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-linux-arm64-musl": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-freebsd-x64": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-linux-x64-gnu": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-linux-x64-musl": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-wasm32-wasi": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-win32-arm64-msvc": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-win32-ia32-msvc": "0.14.0-snapshot-cf2eed0-20241110003502", | ||
"@rolldown/binding-win32-x64-msvc": "0.14.0-snapshot-cf2eed0-20241110003502" | ||
}, | ||
@@ -124,0 +124,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
690677
17251