From 9629ae87a3a69834de7cbf62d9cc3c49c92896c8 Mon Sep 17 00:00:00 2001 From: Franck Date: Tue, 4 Jan 2022 11:18:39 +1100 Subject: [PATCH] Use es2020 to get Big integer literals --- examples/mainnet-poll/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mainnet-poll/webpack.config.js b/examples/mainnet-poll/webpack.config.js index b45969f..2498f5f 100644 --- a/examples/mainnet-poll/webpack.config.js +++ b/examples/mainnet-poll/webpack.config.js @@ -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', }), ], },