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

provide helpers for module authors #2363

Open
1 task done
huang-julien opened this issue Apr 15, 2024 · 0 comments
Open
1 task done

provide helpers for module authors #2363

huang-julien opened this issue Apr 15, 2024 · 0 comments

Comments

@huang-julien
Copy link
Contributor

huang-julien commented Apr 15, 2024

Describe the feature

Library authors are now able to create nitro-modules to change it's configuration.

It would be nice if we could provide helpers just like what @nuxt/kit is doing.

What's in my mind atm:

  • addImports -> since modules runs after unimport being set, they must add new improts with nitro.options.unimport and not nitro.options.imports
  • addPlugin
  • addVirtualFile

Additional information

  • Would you be willing to help implement this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant