chore: set esbuild output target to es2017

This commit is contained in:
Faris Ansari 2022-04-01 21:30:42 +05:30
parent 0a09ad2a2f
commit 93169e054d

View file

@ -259,6 +259,7 @@ function get_build_options(files, outdir, plugins) {
return { return {
entryPoints: files, entryPoints: files,
entryNames: "[dir]/[name].[hash]", entryNames: "[dir]/[name].[hash]",
target: ['es2017'],
outdir, outdir,
sourcemap: true, sourcemap: true,
bundle: true, bundle: true,