Closed aleehedl closed 2 years ago
Thanks for this report, @aleehedl, it will probably save me some time debugging, since we will setup this plugin in the coming weeks. I will look into it soon.
@aleehedl I looked into it, struggled to understand what sentry was doing with their new proxyLoader, and finally found a simple solution: changing wrapping order. I added it in the docs.
When using the @sentry/nextjs plugin, the Sentry's HoC
withSentryConfig
modifies the_app.tsx
's output quite a bit. The result is thatnext-translate-router/plugin/loader.ts
fails while looking for the import ofnext-translate-routes
.Any ideas how to deal with this?