mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update Angular 2 Music Store sample to latest Angular 2 and other dependencies. Switch from asp-ng2-prerender-module to the more general asp-prerender-module.
This commit is contained in:
2
samples/angular/MusicStore/gulpfile.js
vendored
2
samples/angular/MusicStore/gulpfile.js
vendored
@@ -38,7 +38,7 @@ gulp.task('build.lib', function () {
|
||||
|
||||
gulp.task('build', ['build.lib'], function () {
|
||||
var tsProject = typescript.createProject('./tsconfig.json', { typescript: require('typescript') });
|
||||
var tsSrcInlined = gulp.src([webroot + '**/*.ts'], { base: webroot })
|
||||
var tsSrcInlined = gulp.src([webroot + '**/*.ts', 'typings/**/*.d.ts'], { base: webroot })
|
||||
.pipe(inlineNg2Template({ base: webroot }));
|
||||
return tsSrcInlined
|
||||
.pipe(sourcemaps.init())
|
||||
|
||||
Reference in New Issue
Block a user