I'm seeing the following (verbose) report for one of my projects, and I'm not sure how to interpret it:
react-router-dom (Found 1 resolved, 1 installed, 1 depended. Latest 5.1.2.)
5.1.2
path/to/my-project/~/react-router-dom
* Dependency graph
my-project@1.0.0 -> react-router-dom@^5.0.1
* Duplicated files in main.js
react-router-dom/esm/react-router-dom.js (S, 9997)
My best guess would be that it means I don't actually have any duplicated packages (hence 1,1,1), but that somehow I'm consuming the same package twice in different ways. Is that possible? Could I somehow be consuming it once as CJS and once as ESM, and that's what Inspectpack is picking up on?
I'm using the DuplicatesPlugin in my dev Webpack configuration, so main.js is the output from webpack-dev-server. I see similar reports for other libraries, not just react-router-dom.
Many thanks (and thanks for putting this tool together!)
I'm seeing the following (verbose) report for one of my projects, and I'm not sure how to interpret it:
My best guess would be that it means I don't actually have any duplicated packages (hence 1,1,1), but that somehow I'm consuming the same package twice in different ways. Is that possible? Could I somehow be consuming it once as CJS and once as ESM, and that's what Inspectpack is picking up on?
I'm using the
DuplicatesPluginin my dev Webpack configuration, somain.jsis the output from webpack-dev-server. I see similar reports for other libraries, not justreact-router-dom.Many thanks (and thanks for putting this tool together!)