diff --git a/packages/docz-core/src/commands/build.ts b/packages/docz-core/src/commands/build.ts index 3c5bf2723..b54e55aac 100644 --- a/packages/docz-core/src/commands/build.ts +++ b/packages/docz-core/src/commands/build.ts @@ -1,5 +1,5 @@ -process.env.BABEL_ENV = process.env.BABEL_ENV || 'production' -process.env.NODE_ENV = process.env.NODE_ENV || 'production' +process.env.BABEL_ENV = 'production' +process.env.NODE_ENV = 'production' import * as fs from 'fs-extra' import logger from 'signale'