lasso-js / lasso

Advanced JavaScript module bundler, asset pipeline and optimizer
580 stars 75 forks source link

Show formatted parse for requires. #285

Closed DylanPiercey closed 5 years ago

DylanPiercey commented 5 years ago

Currently lasso doesn't properly display errors when it fails to parse the require's of a js file and just includes the source as is.

This change throws when the parsing fails with a formatted error.