mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
wrong env variable in build
This commit is contained in:
parent
53d7a20939
commit
68119768cc
@ -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