Skip to content

Commit

Permalink
fix: set target to es2017
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed May 13, 2020
1 parent 0aa19ce commit 61adc9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ cli
define: options.define,
outDir: 'dist',
format: 'cjs',
target: 'es2017'
})
const bundle = await rollup(rollupConfig.inputConfig)
const { output } = await bundle.write(rollupConfig.outputConfig)
Expand Down

0 comments on commit 61adc9a

Please sign in to comment.