Comments (4)
Thanks for writing in. I forwarded this internally. I think @0Calories will take a look!
from sentry-javascript-bundler-plugins.
Hi @Y0lk, thanks for reporting this, I reproduced this locally and confirmed the crash is caused by the plugin adding the data-sentry
props to Three components. I'll look into a proper fix, but in the meantime I can introduce some configs to the plugin to avoid issues like this;
ignoredFiles
: A list of strings representing local paths to files, the plugin will not perform any annotations on components in ignored files
ignoredComponents
: A list of strings representing component names that the plugin will avoid annotating
Would these settings be helpful in getting your project running with reactComponentAnnotation
?
from sentry-javascript-bundler-plugins.
Hi @Y0lk, thanks for reporting this, I reproduced this locally and confirmed the crash is caused by the plugin adding the
data-sentry
props to Three components. I'll look into a proper fix, but in the meantime I can introduce some configs to the plugin to avoid issues like this;
ignoredFiles
: A list of strings representing local paths to files, the plugin will not perform any annotations on components in ignored files
ignoredComponents
: A list of strings representing component names that the plugin will avoid annotatingWould these settings be helpful in getting your project running with
reactComponentAnnotation
?
This would be really helpful
from sentry-javascript-bundler-plugins.
Hi @Y0lk, thanks for reporting this, I reproduced this locally and confirmed the crash is caused by the plugin adding the
data-sentry
props to Three components. I'll look into a proper fix, but in the meantime I can introduce some configs to the plugin to avoid issues like this;
ignoredFiles
: A list of strings representing local paths to files, the plugin will not perform any annotations on components in ignored files
ignoredComponents
: A list of strings representing component names that the plugin will avoid annotatingWould these settings be helpful in getting your project running with
reactComponentAnnotation
?
I think this would be good additions, is there a way too to add to the error log the component/file name, so that it's easier to debug and add to these lists?
Thanks!
from sentry-javascript-bundler-plugins.
Related Issues (20)
- `moduleMetadata` and or `moduleMetadataIntegration` do not work with `vite-plugin` HOT 6
- Source Maps not loading on sentry HOT 16
- Unclear how to make Sentry work with Vite + React sourcemaps HOT 4
- Nuxt with sentryVitePlugin: Cannot read properties of undefined (reading 'startsWith') HOT 5
- Vite plugin logging to stdout instead of stderr HOT 2
- Cannot build with Vite and latest sentry plugin version HOT 13
- sentry does not consider sourcemaps HOT 5
- esbuild plugin causing error in Nx Angular CLI (angular 17) HOT 1
- `filesToDeleteAfterUpload` is deleting files before upload in latest versions HOT 6
- can not disable soucemap HOT 3
- sentry/webpack-plugin upload sourcemap oom HOT 5
- Sentry sourcemap use `@vitejs/plugin-legacy` and `@sentry/vite-plugin` conflict. HOT 16
- JavaScript heap out of memory, after adding Sentry to my Vite-React Project - GitLab HOT 3
- Invalid org token in Vite build HOT 2
- vite-plugin Docs should provide guidance and exmaples for removing source maps after upload HOT 1
- Sentry Webpack Plugin `Warning: Didn't find any matching sources for debug ID upload.` HOT 18
- sentry-file-deletion-plugin writeBundle hook Error in v2.21.0 HOT 11
- sentry webpack plugin Fatal process out of memory: Zone HOT 7
- Is there a plan to support the Sentry Rspack plugin in the future? HOT 3
- Sentry source maps completely incorrect and showing sentry debug stuff? HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-javascript-bundler-plugins.