Build: Target ES2018.

This commit is contained in:
lishid 2022-08-20 20:25:17 -04:00
parent 64e8649877
commit 866d3b8f0d

View File

@ -34,7 +34,7 @@ esbuild.build({
...builtins],
format: 'cjs',
watch: !prod,
target: 'es2016',
target: 'es2018',
logLevel: "info",
sourcemap: prod ? false : 'inline',
treeShaking: true,