Handle browser Errors.
This commit is contained in:
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
import { type ExecSyncOptions } from "child_process";
|
||||
declare const BuildKeys: readonly [{
|
||||
readonly key: "production";
|
||||
}, {
|
||||
readonly key: "bytecode";
|
||||
}, {
|
||||
readonly key: "conditions";
|
||||
}, {
|
||||
readonly key: "format";
|
||||
}, {
|
||||
readonly key: "root";
|
||||
}, {
|
||||
readonly key: "splitting";
|
||||
}, {
|
||||
readonly key: "cdd-chunking";
|
||||
}];
|
||||
type Params = {
|
||||
src: string;
|
||||
out_dir: string;
|
||||
entry_naming?: string;
|
||||
minify?: boolean;
|
||||
exec_options?: ExecSyncOptions;
|
||||
debug?: boolean;
|
||||
sourcemap?: boolean;
|
||||
target?: "browser" | "node" | "bun";
|
||||
build_options?: {
|
||||
[k in (typeof BuildKeys)[number]["key"]]: string | boolean;
|
||||
};
|
||||
};
|
||||
export default function bundle({ out_dir, src, minify, exec_options, debug, entry_naming, sourcemap, target, build_options, }: Params): void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user