mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
chore: It is possible to shorten build times by removing ProgressPlugin
This commit is contained in:
parent
84321727d8
commit
b0e9da434d
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ exports.main = _.compact([
|
|||
target: 'electron-node-worker',
|
||||
plugins: ['ExternalsPlugin'],
|
||||
}),
|
||||
new WebpackBar(),
|
||||
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
||||
process.env.NODE_ENV === 'production'
|
||||
? // eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
new BundleAnalyzerPlugin({ generateStatsFile: true, analyzerMode: 'disabled', statsFilename: '../../out/webpack-stats-main.json' })
|
||||
|
|
@ -72,7 +72,7 @@ exports.renderer = _.compact([
|
|||
},
|
||||
},
|
||||
),
|
||||
new WebpackBar(),
|
||||
process.env.NODE_ENV === 'production' ? undefined : new WebpackBar(),
|
||||
process.env.NODE_ENV === 'production'
|
||||
? // eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
new BundleAnalyzerPlugin({ generateStatsFile: true, analyzerMode: 'disabled', statsFilename: '../../out/webpack-stats-renderer.json' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue