Skip to content

Commit

Permalink
fix(VAST-47): add target to es6 esbuild (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasty committed Jul 4, 2023
1 parent 8b1e669 commit 2888945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ const format = argv.t === 'commonjs' ? 'cjs' : 'es6';
const configByFormat = format === 'cjs' ? {
format: 'cjs',
outdir: buildConfig.cjs.outdir,

} : {
outdir: buildConfig.mjs.outdir,
outExtension: { '.js': buildConfig.mjs.extension },
format: 'esm',
splitting: true,
target: ['es2020','safari13'],
};

const externalDeps = [
Expand Down

0 comments on commit 2888945

Please sign in to comment.