mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore: wrong env variable in build
This commit is contained in:
parent
50e33768a9
commit
6093f11cf0
@ -76,7 +76,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
// Reduce non-minified dist files size
|
||||
config.optimization.usedExports = true;
|
||||
// use esbuild
|
||||
if (process.env.CSB_REPO) {
|
||||
if (process.env.ESBUILD) {
|
||||
config.optimization.minimizer[0] = new EsbuildPlugin();
|
||||
}
|
||||
// skip codesandbox ci
|
||||
|
Loading…
Reference in New Issue
Block a user