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], ...builtins],
format: 'cjs', format: 'cjs',
watch: !prod, watch: !prod,
target: 'es2016', target: 'es2018',
logLevel: "info", logLevel: "info",
sourcemap: prod ? false : 'inline', sourcemap: prod ? false : 'inline',
treeShaking: true, treeShaking: true,