Skip to content
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

feat: Add support for generating a production-ready config out of the… #11850

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sradevski
Copy link
Member

Our default config generation includes in-memory modules, which are not production ready.

This PR adds another options argument to the defineConfig function that accepts an isProduction flag (that will typically be set by doing process.env.NODE_ENV === "production", which we will apply as such in our starter).

@sradevski sradevski requested a review from a team as a code owner March 14, 2025 11:08
Copy link

vercel bot commented Mar 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 14, 2025 11:08am
7 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
api-reference-v2 ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
docs-ui ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
docs-v2 ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
medusa-docs ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
resources-docs ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am
user-guide ⬜️ Ignored (Inspect) Mar 14, 2025 11:08am

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.

1 participant