Skip to content

feat(schema): split dev/prod build directories#28594

Merged
danielroe merged 4 commits intomainfrom
feat/build-dir-separation
Aug 19, 2024
Merged

feat(schema): split dev/prod build directories#28594
danielroe merged 4 commits intomainfrom
feat/build-dir-separation

Conversation

@danielroe
Copy link
Copy Markdown
Member

@danielroe danielroe commented Aug 19, 2024

🔗 Linked issue

#14607

📚 Description

This adds support for splitting dev + production build directories. Because type-support is based on having a .nuxt/tsconfig.json in place, we can't always split out the build directory.

I've opted to use buildId for the production build directory to allow parallel production builds - but this implementation detail will likely change when we implement #23392 (next on the list!)

This should enable running parallel builds alongside a dev server (or even multiple builds in parallel at the same time).

Next steps

@danielroe danielroe self-assigned this Aug 19, 2024
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@danielroe danielroe changed the title test: remove custom nitro build/output dirs feat(schema): split dev/prod build directories Aug 19, 2024
@danielroe danielroe requested a review from pi0 August 19, 2024 10:57
@danielroe danielroe merged commit 3ec103b into main Aug 19, 2024
@danielroe danielroe deleted the feat/build-dir-separation branch August 19, 2024 16:03
@github-actions github-actions bot mentioned this pull request Aug 19, 2024
Kamsou pushed a commit to Kamsou/nuxt that referenced this pull request Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants