Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Nuxt3 ? #8

Open
yanniznik opened this issue Jun 26, 2024 · 0 comments
Open

Compatibility with Nuxt3 ? #8

yanniznik opened this issue Jun 26, 2024 · 0 comments

Comments

@yanniznik
Copy link

yanniznik commented Jun 26, 2024

Hi there! We've added the vite-plugin-rollbar as a vite plugin in our Vite5 / Nuxt3 setup but we the sourcemaps don't appear to be uploaded in Rollbar. There are no errors or logs appearing in the console either during dev or build.

Nuxt generate server build sourcemaps by default (doc).

Vite: 5.3.1
Nuxt: 3.12.2

const rollbarConfig = {
  accessToken: '<token>',
  version: '1.0',
  baseUrl: '<our_base_url>',
  ignoreUploadErrors: false,
  silent: false,
}

export default defineNuxtConfig({
  vite: {
    plugins: [viteRollbar(rollbarConfig)],
  }
)}

Any ideas what could be the issue or how to debug it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant