gonzofish / angular-librarian

An Angular 2+ scaffolding setup for creating libraries
https://www.npmjs.com/package/angular-librarian
MIT License
91 stars 9 forks source link

Source maps not working for tests #14

Closed litzebauer closed 7 years ago

litzebauer commented 7 years ago

See this in the Jamsine console: SourceMap position not found for trace: undefined

Sourcemaps aren't working in chrome either

gonzofish commented 7 years ago

it should be fixed in master, but i'll take a look at the version you're running (0.0.10-alpha)

gonzofish commented 7 years ago

I think this is a result of angular2-template-loader, via this issue

gonzofish commented 7 years ago

angular2-template-loader is the culprit. To fix from a shell do:

npm rm angular2-template-loader

Update package.json so angular2-template-loader is "0.6.0" not "^0.6.0" and run

npm i angular2-template-loader