aurelia / skeleton-navigation

Starter kits for building a standard navigation-style app with Aurelia.
Creative Commons Zero v1.0 Universal
732 stars 513 forks source link

Source maps and bundling in gulp typescirpt #472

Closed cjdibbs closed 8 years ago

cjdibbs commented 8 years ago

When trying to bundle the typescript version I get the following:

//# sourceMappingURL=app.js.map //# sourceMappingURL=data:application/json;base64,....

when I try to run the bundler it fails because it tries to bundle the now non-existing map file (that was included by sourcemaps)

after a bit of research if found that the typescript complier 'gulp-tsb' is not a supported sourcemap plugin (https://github.com/floridoo/gulp-sourcemaps/wiki/Plugins-with-gulp-sourcemaps-support)

switching to use gulp-typescript fix the issue fixed file: https://github.com/cjdibbs/Blog/blob/master/site/static/build/tasks/build.js

andreujuanc commented 8 years ago

Thanks it helped me to fix it faster! I just dont understand this, this is an skeleton that is directly promoted on the docs. I bet that lots of people like me, are just checking out aurelia's capabilities, and if the starter kit is failing.. leaves lots to say about the project. Specialy when @cjdibbs reported this issue 3 days ago, it should have been addressed by now.

doktordirk commented 8 years ago

there a limited resources. PRs are always wellcome