Skip to content

Commit

Permalink
fix DOCUSAURUS_CURRENT_LOCALE='undefined'
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 24, 2024
1 parent 4892f3a commit 832a64e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/docusaurus/src/commands/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export async function build(
): Promise<void> {
process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';
process.env.DOCUSAURUS_CURRENT_LOCALE = cliOptions.locale?.[0];
if (cliOptions.dev) {
logger.info`Building in dev mode`;
process.env.BABEL_ENV = 'development';
Expand Down

0 comments on commit 832a64e

Please sign in to comment.