diff --git a/karma.conf.cjs b/karma.conf.cjs index 9510986..bbbba45 100644 --- a/karma.conf.cjs +++ b/karma.conf.cjs @@ -23,6 +23,7 @@ module.exports = function (config) { resolve: webpackConfig.resolve, experiments: webpackConfig.experiments, optimization: webpackConfig.optimization, + externals: webpackConfig.externals, stats: {warnings:false}, }, reporters: ["spec"], diff --git a/webpack.config.cjs b/webpack.config.cjs index 7c0991d..360cd5b 100644 --- a/webpack.config.cjs +++ b/webpack.config.cjs @@ -29,6 +29,9 @@ module.exports = { child_process: false, }, }, + externals: { + "@chainsafe/blst": {} + }, experiments: { topLevelAwait: true, },