Skip to content

Commit

Permalink
Set target es2019 for craco-esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
geirsagberg committed Oct 6, 2021
1 parent 8eff52e commit 4fe027d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ module.exports = {
esbuildLoaderOptions: {
loader: 'tsx',
implementation: require('esbuild'),
target: 'es2019',
},
esbuildMinimizerOptions: {
target: 'es2019',
},
},
},
Expand Down

0 comments on commit 4fe027d

Please sign in to comment.