If the viteNodeInlineDeps option is set to anything, it completely replaces any value set by other sources, i.e. plugins. Most notably, this completely breaks Nuxt functionality, as all deps set by the Histoire Nuxt plugin are removed.
The reason this happens is due to the change introduced in this commit, but as I don't know the reasoning behind this change, it's difficult to say what else could be impacted by reverting it.
Reproduction
Add the following to the config in the default Nuxt StackBlitz berfore starting the dev server:
Describe the bug
If the
viteNodeInlineDeps
option is set to anything, it completely replaces any value set by other sources, i.e. plugins. Most notably, this completely breaks Nuxt functionality, as all deps set by the Histoire Nuxt plugin are removed.The reason this happens is due to the change introduced in this commit, but as I don't know the reasoning behind this change, it's difficult to say what else could be impacted by reverting it.
Reproduction
Add the following to the config in the default Nuxt StackBlitz berfore starting the dev server:
System Info
Used Package Manager
yarn
Validations