nuxt-community / sentry-module

Sentry module for Nuxt 2
https://sentry.nuxtjs.org
MIT License
500 stars 113 forks source link

fix: support external configuration in form of *.ts #639

Closed rchl closed 10 months ago

rchl commented 10 months ago

The serverConfig and customServerIntegrations options did not work with typescript files when trying to use those options with a path variant.

Use jiti to import those files rather than relying on whatever happens by default (relying on native Node ESM support).

github-actions[bot] commented 10 months ago

size-limit report 📦

Path Size
fixture: base 381.53 KB (0%)
fixture: lazy 386.28 KB (0%)
fixture: tracing 401.72 KB (0%)
fixture: lazy+tracing 406.43 KB (0%)
fixture: replay 538.58 KB (+100% 🔺)
fixture: typescript 381.66 KB (+100% 🔺)