-
Notifications
You must be signed in to change notification settings - Fork 25
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
Imports types that are not defined on build --stub
#223
Comments
With the latest version of
Note that I'm not using |
Confirms too, have the error with https://github.com/YsarocK/nuxt-wp/. |
You can ignore the warning about The type files in stub mode are deliberately more expansive to contemplate all possible options you may have while developing (because it's not running continuously so it can't update the file if you add a new export). What is the issue you are experiencing? |
I don't remember what the issue was or in which project I saw it... I guess we can close it until some better reasoning comes up. |
But then... It's not so much about which properties are generated but more about what is |
Running
nuxt-module-build build --stub
generatestypes.d.mts
like:where the "ModuleHooks, RuntimeModuleHooks, ModuleRuntimeConfig" imports are not exported from "./module".
Running
nuxt-module-build build
generates correct version:The text was updated successfully, but these errors were encountered: