mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Modernize Benchmarks CI
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user