♻️ chore: format code (use npm run format) (#51978)

* chore: update formatter rule

* ♻️ chore: format code (use `npm run format`)
This commit is contained in:
𝑾𝒖𝒙𝒉
2024-12-12 10:22:30 +08:00
committed by GitHub
parent 093380d76b
commit 020176f2b5
9 changed files with 24 additions and 23 deletions

View File

@@ -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;