Daniel Roe

Results 2592 comments of Daniel Roe

Great! Is there something we can add to the docs to help in this situation?

would you take a look at the failing webpack/rspack tests? 🙏 I think it's fine to make `source` required going forward (e.g. in types), but we should fall back to...

@userquin what do we need to do here, now that your other two prs have made it in, enabling directives within unimport?

this is unfortunately required for type inference for `$fetch('/some/api/route')`. I would love a solution but I don't think there is one. 🤔

In order for `swr` to work, you should not prerender them. Prerendering the pages entirely bypasses dynamic caching rules.

this might be related to skew protection (https://github.com/nitrojs/nitro/issues/2311, https://github.com/nitrojs/nitro/issues/3756) and it might also be related to whether we ship a _Nuxt_ solution to all of these issues in general.

this may also be an approach which also works for some linked issues: - https://github.com/nuxt/nuxt/pull/32044 - https://github.com/nuxt/nuxt/pull/32182 - https://github.com/nuxt/nuxt/pull/31574

@benjamincanac you can already adopt them before the module builder upgrade, if you want

It's more correct. If it's well set up, it means the types users can see in their projects is consistent across node10/node16 module resolutions modes + ESM/CJS. You can see...