fix: target es2018, closes #1220

This commit is contained in:
Guillaume
2021-07-19 15:54:58 +02:00
parent 335d538dd3
commit e496ba2604
@@ -24,6 +24,7 @@ import { nodeExternalsPlugin } from 'esbuild-node-externals'
format,
outfile: path.join('dist', file),
sourcemap: true,
target: 'es2018',
plugins: [
nodeExternalsPlugin(),
],