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

chore: move heavy populateMap function to utils #637

Merged
merged 2 commits into from
Mar 21, 2023
Merged

chore: move heavy populateMap function to utils #637

merged 2 commits into from
Mar 21, 2023

Conversation

ineshbose
Copy link
Collaborator

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Mar 16, 2023

  • The exposeConfig option now exposes the config as a tree of MJS modules, instead of one big file.
  • This is done by using @nuxt/kit's addTemplate API to create files in memory and then write them out at build time (instead of writing directly to disk).
  • A new function called createTemplates() was created that does this work for us so we can reuse it later if needed without duplicating code or logic.

@Atinux Atinux merged commit 41691d1 into nuxt-modules:main Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants