-
Notifications
You must be signed in to change notification settings - Fork 0
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
(0 , _nitropack.defineNitroPreset) is not a function
#3
Comments
Any updates? I am trying to build a custom preset in my nuxt project but the build is failing just after starting with this error. |
you can simply use |
Thanks for the quick response @pi0 -- I have verified that the following workaround solves the issue: https://github.com/storipress/site-generator/blob/355ce4a5526645da85b24703946a30ce12014d54/playground/nitro/nitro-preset.ts#L3 I understand the point about contributing to custom resets but, in some cases, there is a need to customize for very particular needs (in my particular example, I want to avoid 404s from hitting the server function in my netlify setup, which I doubt is worth contributing upstream). |
Thanks for ref. Just a heads up, this line using Also, another heads up is that the |
It seems there is a bug with jiti/c12 loader
The text was updated successfully, but these errors were encountered: