mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
♻️ chore: format code (use npm run format) (#51978)
* chore: update formatter rule
* ♻️ chore: format code (use `npm run format`)
This commit is contained in:
@@ -45,7 +45,7 @@ function addPluginsForProduction(config) {
|
||||
analyzerMode: 'static',
|
||||
openAnalyzer: false,
|
||||
reportFilename: '../report.html',
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
if (newConfig.mode === 'production' && !process.env.PRODUCTION_ONLY) {
|
||||
@@ -53,7 +53,7 @@ function addPluginsForProduction(config) {
|
||||
new DuplicatePackageCheckerPlugin({
|
||||
verbose: true,
|
||||
emitError: true,
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ function addPluginsForProduction(config) {
|
||||
}),
|
||||
new CircularDependencyPlugin({
|
||||
failOnError: true,
|
||||
})
|
||||
}),
|
||||
);
|
||||
|
||||
return newConfig;
|
||||
|
||||
Reference in New Issue
Block a user