How to ensure module is imported everywhere (server, client, server functions)
I need to ensure that
So far I only managed to make it work by importing it in client.tsx, ssr.tsx, and router.tsx,
and in router.tsx I also had to make sure to execute it via a global middleware. Is there a simpler approach?
router.tsx:
importExtensions:
importExtensions is executed in all contexts.So far I only managed to make it work by importing it in client.tsx, ssr.tsx, and router.tsx,
and in router.tsx I also had to make sure to execute it via a global middleware. Is there a simpler approach?
router.tsx:
importExtensions: