Skip to content

Commit de0c978

Browse files
committed
build: backward compatibilty support up to ES2018
1 parent b51230e commit de0c978

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/esbuild.config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const banner =
66
`/*
77
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
88
if you want to view the source, please visit the github repository of this plugin
9+
https://github.com/kotaindah55/animated-cursor
910
*/
1011
`;
1112

@@ -33,7 +34,7 @@ const context = await esbuild.context({
3334
"@lezer/lr",
3435
...builtins],
3536
format: "cjs",
36-
target: prod ? "es2022" : "es2024",
37+
target: "es2018",
3738
logLevel: "info",
3839
treeShaking: true,
3940
sourcemap: prod ? false : "inline",

0 commit comments

Comments
 (0)