Replies: 1 comment 1 reply
-
Hi! This sounds like something worth talking to with packtracker first and then create a minimal reproduction to verify this is an issue on webpack-bundle-analyzer side. I converted this to a Q&A discussion as this isn't yet clear enough to be an issue we could fix. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue description
I noticed that our packtracker.io webpack-plugin started reporting bogus values after our latest "npm update" run.
Our logs show this error from the analyzer:
Unexpected token (1:245361)
This points to the updated markedjs package, right into the middle of this codeline:
https://github.com/markedjs/marked/blob/4c1a164f70c3fecf83286a2723e8c067eb782817/src/Hooks.js#L8
Downgrading only that package from v4.3.0 to v4.2.12 fixes the error and the packtracker stats are ok again.
Not sure why the parser doesnt like this line / codechange though, running the analyzer with the CLI directly from our code doesnt bring this error.
So maybe it is a packtracker plugin issue, but I am not sure, maybe you can weigh in on this.
Technical info
Debug info
How do you use this module? As CLI utility or as plugin?
As a dependency in the packtracker.io webpack plugin. Not sure how to get the stats.json out of that...
Beta Was this translation helpful? Give feedback.
All reactions