You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by igorjacauna July 2, 2023
I would like to use the compiled hook but if I use a preset, my hook overwrites the preset hook. So, the preset hook is not called, only my hook configured in nitro.options.hooks.compiled
Hi. This is an internal limitation with Nitro config merging only. Hookable even has utils for this. The fix should be straightforward but since some presets currently shadow their base preset hooks, this should be handled with extra care.
pi0
changed the title
Is it possible to use specific nitro hooks once the preset already registered the same hook?
Cannot override specific hooks once the preset already registered the same hook
Jul 3, 2023
Discussed in #1376
Originally posted by igorjacauna July 2, 2023
I would like to use the
compiled
hook but if I use a preset, my hook overwrites the preset hook. So, the preset hook is not called, only my hook configured innitro.options.hooks.compiled
Repro: https://github.com/igorjacauna/nuxt-nitro-hook
More info about reproduction in README
The text was updated successfully, but these errors were encountered: