Random "Unexpected token ILLEGAL" error
Open
- Dominant language
- JavaScript
- Stars
- 556
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some trouble pinpointing the exact cause of this error, but I've got 4 bundles and only the one with `readFileSync` calls fails randomly with this error. In that bundle, there are 7 `readFileSync` calls in succession. I added some logging and it seems that when this error triggers, the source is mangled and the `readFileSync` calls are resolved out of order. It only happens once out of 20 or so times.
I'd be happy to debug further, but I'm not sure where to look next or what information you might need.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.