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