Update esbuild to 0.14.28, use es2020 target
This commit is contained in:
parent
3b5cc26fec
commit
8b36e37d18
3 changed files with 106 additions and 106 deletions
|
@ -12,7 +12,7 @@ const isProd = process.argv.some(argv => argv === '-prod' || argv === '--prod');
|
|||
|
||||
const nodeDefaults = {
|
||||
platform: 'node',
|
||||
target: 'node16',
|
||||
target: 'es2020',
|
||||
sourcemap: isProd ? false : 'inline',
|
||||
// Otherwise React components get renamed
|
||||
// See: https://github.com/evanw/esbuild/issues/1147
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue