3 ms·
Hey David! Few questions: I'm slightly stuck with the Vite plugin Currently getting this when trying to do an npm run dev: [plugin externalize-deps] No kn
by lol768 3y ago
Hey David! Few questions: I'm slightly stuck with the Vite plugin
Currently getting this when trying to do an npm run dev:
[plugin externalize-deps] No known conditions for "./vite-plugin" entry in "@spotlightjs/sidecar" package
The plugin "externalize-deps" was triggered by this import
vite.config.ts:7:29:
7 │ import spotlightSidecar from '@spotlightjs/sidecar/vite-plugin';
Should I be telling externalize-deps to leave it alone somehow?
Also, I note the PHP SDK has gotten support for Spotlight - are there plans to do the same for the .NET SDK too?
- deleted 3y ago[deleted]
- zeeg 3y agoLet me circle back on the Vite issue. Bundles are the biggest challenge when doing this turns out :) Would you mind opening a GitHub so we can circle back there? Regarding .NET - it’s coming to all Sentry SDKs (even mobile!). They were looking at .NET already but I’m not sure off hand what prevented its release. I’d expect our other core languages have full support in the next 60 days.
- lol768 3y ago> Let me circle back on the Vite issue. Bundles are the biggest challenge when doing this turns out :) > > Would you mind opening a GitHub so we can circle back there? For anyone else in this boat, I got it working by adding "type": "module" to my package.json file. Getting Tailwind to play nice with this was a bit of a battle, and I didn't manage to figure out how to import the defaultTheme properly, but Spotlight works flawlessly and the Vite plugin auto-starts the sidecar.
- brungarc 3y agoThanks for asking, created a ticket for .NET support here: https://github.com/getsentry/sentry-dotnet/issues/2955 https://github.com/getsentry/sentry-dotnet/issues/2955 I'm actually looking forward to it, I wanted to try on NuGet Trends but stopped on the first hurdle: https://github.com/dotnet/nuget-trends/pull/247 https://github.com/dotnet/nuget-trends/pull/247