-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frame-based errors for asset relocator parser #332
Comments
require('express')
+ any syntax error causes unhandled rejection
Are you sure this is running the latest ncc with the fix from #324 (ncc 0.17.0). I just tried this on the latest build and the errors seem to display correctly here. |
@guybedford I confirm. Just checked again. This script reproduces it from scratch:
|
|
However i expect
|
@guybedford btw it works well with 0.16.1. This one prints a correct message:
|
Ahh I see. Yes the asset relocator does a parse, but does not provide syntax highlighted errors. Marking as an enhancement. |
Thanks! Yeah, it is not unhandled rejection in 0.17.0, only wrong message. |
Implemented in vercel/webpack-asset-relocator-loader#63. |
also
also
The text was updated successfully, but these errors were encountered: