Skip to content

Commit 25b19bd

Browse files
authored
more precise esbuild target (#1144)
1 parent 957ba8e commit 25b19bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rollup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function rollupClient(
6666
nodeResolve({resolveOnly: BUNDLED_MODULES}),
6767
importResolve(input, root, path),
6868
esbuild({
69-
target: "es2022",
69+
target: ["es2022", "chrome96", "firefox96", "safari16", "node18"],
7070
exclude: [], // don’t exclude node_modules
7171
keepNames,
7272
minify,

0 commit comments

Comments
 (0)