mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore: esbuild target (#26357)
* chore: esbuild target * Update bisheng.config.js * fix lint Co-authored-by: 二货机器人 <smith3816@gmail.com>
This commit is contained in:
@@ -99,7 +99,9 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
config.optimization.usedExports = true;
|
||||
// use esbuild
|
||||
if (process.env.ESBUILD || process.env.CSB_REPO) {
|
||||
config.optimization.minimizer[0] = new EsbuildPlugin();
|
||||
config.optimization.minimizer[0] = new EsbuildPlugin({
|
||||
target: 'chrome49',
|
||||
});
|
||||
}
|
||||
|
||||
config.plugins.push(
|
||||
|
||||
Reference in New Issue
Block a user