Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 19, 2024

Conversation

danielroe
Copy link
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
Copy link

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
38 checks passed
@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