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', }), ], },