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.

@github-actions github-actions Bot added 3.x 🧪 test Test additions or improvements labels Aug 19, 2024
@danielroe danielroe added ✨ enhancement New feature or improvement to existing functionality 🛠️ dx Developer experience improvement 🍰 p2-nice-to-have Nice to have, not blocking and removed 3.x 🧪 test Test additions or improvements labels Aug 19, 2024
@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
Comment thread packages/schema/src/config/common.ts Outdated
@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

Labels

🛠️ dx Developer experience improvement ✨ enhancement New feature or improvement to existing functionality 🍰 p2-nice-to-have Nice to have, not blocking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants