refactor: remove unused option ci

This commit is contained in:
Clark Du 2018-08-10 17:12:33 +01:00
parent bc6837c985
commit cf06559fa6

View File

@ -66,7 +66,7 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
analyzerMode: 'static', analyzerMode: 'static',
defaultSizes: 'gzip', defaultSizes: 'gzip',
generateStatsFile: true, generateStatsFile: true,
openAnalyzer: !(this.options.ci || this.options.test), openAnalyzer: !this.options.test,
reportFilename: path.resolve(statsDir, 'client.html'), reportFilename: path.resolve(statsDir, 'client.html'),
statsFilename: path.resolve(statsDir, 'client.json') statsFilename: path.resolve(statsDir, 'client.json')
}, this.options.build.analyze))) }, this.options.build.analyze)))