Update esbuild to 0.14.28, use es2020 target
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user