Skip to content

Commit

Permalink
fix(nextjs): Add missing environment variables for Nx 18 environment …
Browse files Browse the repository at this point in the history
…variables (#19585)
  • Loading branch information
ndcunningham authored Oct 12, 2023
1 parent 0ce9143 commit 5516752
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/next/plugins/with-nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const baseNXEnvironmentVariables = [
'NX_NEXT_OUTPUT_PATH',
'NX_E2E_RUN_E2E',
'NX_E2E_CI_CACHE_KEY',
'NX_MAPPINGS',
'NX_FILE_TO_RUN',
'NX_NEXT_PUBLIC_DIR',
];

export interface WithNxOptions extends NextConfig {
Expand Down

0 comments on commit 5516752

Please sign in to comment.