diff --git a/build.js b/build.js index 9455f4a..f3fe602 100644 --- a/build.js +++ b/build.js @@ -6,7 +6,8 @@ const options = { bundle: true, minify: true, sourcemap: true, - external: ['path'] + external: ['path'], + target: 'es2015' }; (async () => { await esbuild