Modernize Benchmarks CI

This commit is contained in:
Fedor Indutny
2021-08-11 12:29:07 -07:00
committed by GitHub
parent 12c78c742f
commit 61b7eebfcf
17 changed files with 149 additions and 58 deletions

View File

@@ -31,7 +31,10 @@ const EXTERNAL_MODULE = new Set([
'zkgroup',
// Uses fast-glob and dynamic requires
'./preload_test.js',
'./preload_test',
// Needs to exports `electronRequire`
'./ts/CI',
]);
const preloadConfig: Configuration = {
@@ -43,10 +46,11 @@ const preloadConfig: Configuration = {
optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
mangle: {
keep_fnames: true,
},
mangle: false,
keep_classnames: true,
keep_fnames: true,
},
}),
],