-
Notifications
You must be signed in to change notification settings - Fork 825
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
BasePlugin.js - Critical dependency warning in webpack #814
Comments
This happens because the Plugin system uses a dynamic |
I just ran into the same issue. Is there a workaround? It seems like it's basically bricked when using webpack. |
it should still work with warnings |
Hm, the build step of my React app completely fails. I fixed it with this:
(not proud of it) |
Do plugins still load correctly after you've done that? The require isn't needed for web plugins so it should be ok. This will probably require changing to a platform specific base plugin to fix @mayurkale22 @obecny WDYT? |
Yes, I'm using the as for fixing this, maybe consider adding a big |
What version of OpenTelemetry are you using?
0.4.0
What version of Node are you using?
12.4.0
What did you do?
I've added telemetry script with some plugins
UserInteractionPlugin
andDocumentLoad
. The code is copied from examplesWhat did you expect to see?
Complication without warnings
What did you see instead?
Additional context
I'm using the latest
create-react-app
boilerplate with TypeScript template.Webpack version
4.41.5
The text was updated successfully, but these errors were encountered: