Use es2020 to get Big integer literals

This commit is contained in:
Franck 2022-01-04 11:18:39 +11:00
parent bb48788327
commit 9629ae87a3
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ module.exports = (env) => {
exclude: /node_modules/,
options: {
loader: 'tsx',
target: 'es2018',
target: 'es2020',
},
},
{
@ -51,7 +51,7 @@ module.exports = (env) => {
optimization: {
minimizer: [
new ESBuildMinifyPlugin({
target: 'es2018',
target: 'es2020',
}),
],
},