lasso-js / lasso

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

Show formatted parse for requires. #285

Closed DylanPiercey closed 6 years ago

DylanPiercey commented 6 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.