apm-agent-rum-js
apm-agent-rum-js copied to clipboard
Circular dependencies warning when using rollup
I am using rollup v2.77.0 as a bundler and I am getting the following warning when I build my project with the apm-rum package v5.12.0:
(!) Circular dependencies
node_modules/@elastic/apm-rum-core/dist/es/common/utils.js -> node_modules/@elastic/apm-rum-core/dist/es/common/polyfills.js -> node_modules/@elastic/apm-rum-core/dist/es/common/utils.js
node_modules/opentracing/lib/span.js -> node_modules/opentracing/lib/noop.js -> node_modules/opentracing/lib/span.js
node_modules/opentracing/lib/tracer.js -> node_modules/opentracing/lib/functions.js -> node_modules/opentracing/lib/reference.js -> node_modules/opentracing/lib/span.js -> node_modules/opentracing/lib/noop.js -> node_modules/opentracing/lib/tracer.js
As far as I can see, it does not affect the usage, but it is not pretty either. Also, it seems that opentracing is having the same problem as well.
Hi @Delta843,
Thanks for reporting this to us, much appreciated, we will review it 👍
Cheers, Alberto