Sentry and Vitejs

Hey there everyone,

was anyone able to provide Sentry with code sourcemaps on dev env while working with Vitejs ?
We’re using Vue 3 with Typescript on transpiling.

Recently we’ve tried adding these two lines on tsconfig.json
"inlineSources": true, "sourceRoot": "node_modules/.vite/",

It didn’t seem to be fixing the issue.
Where the issue is we’re not able to see error’s relating with source code itself but:
TypeError *exports.isLayout(project/node_modules/.vite/chunk.ZPA5QGGF

Any article or tutorial link would be really helpful.

Best regards

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.