Commit d462679
committed
Better error reporting for browserify
When you get an error using browserify with the current config you get something akin to the following:
ParseError: Unexpected token .
this fix changes this to something more along the lines of
/Users/reubendoetsch/recombine/orginal-labs/src/scripts/ng-app/services/recombine_api_service.js:15
Restangular..setDefaultHttpFields({withCredentials: true});
which is massively helpful for debugging these sort of errors.
I checked other browserify errors and they all work as intended.1 parent 4dfd41a commit d462679
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
0 commit comments