You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating #17 further I have discovered some issues if the code is blank or has only comments.
I added some tests in fd305a4. I discovered a case where it started reporting an internal error rather than "No content" from Webpack, introduced in commit 03f414a in patch release v0.13.3.
I have improved the error reporting in this case with a temporary workaround solution in 79a2ac5.
May need to investigate how Webpack would handle this kind of input in real life.
The text was updated successfully, but these errors were encountered:
- show result with error info from Terser if needed
- show informative message instead of an internal error
in case there is no code for Webpack to process
(temporary workaround solution)
ref: #21
brodycj
changed the title
issues with only comments
issues with blank source or only comments
Jan 24, 2023
(updated)
While investigating #17 further I have discovered some issues if the code is blank or has only comments.
I added some tests in fd305a4. I discovered a case where it started reporting an internal error rather than "No content" from Webpack, introduced in commit 03f414a in patch release
v0.13.3
.I have improved the error reporting in this case with a temporary workaround solution in 79a2ac5.
May need to investigate how Webpack would handle this kind of input in real life.
The text was updated successfully, but these errors were encountered: