@@ -30,8 +30,7 @@ const paths = {
3030 images : `${ clientPath } /assets/images/**/*` ,
3131 revManifest : `${ clientPath } /assets/rev-manifest.json` ,
3232 scripts : [
33- `${ clientPath } /**/!(*.spec|*.mock).<%= scriptExt %>` < % if ( filters . ts ) { % > ,
34- `!${ clientPath } /{typings,test_typings}/**/*` < % } % >
33+ `${ clientPath } /**/!(*.spec|*.mock).<%= scriptExt %>`
3534 ] ,
3635 styles : [ `${ clientPath } /{app,components}/**/*.<%= styleExt %>` ] ,
3736 mainStyle : `${ clientPath } /app/app.<%= styleExt %>` ,
@@ -241,13 +240,6 @@ function webpackCompile(options, cb) {
241240gulp.task('webpack:dev', cb => webpackCompile ( { DEV : true } , cb));
242241gulp.task('webpack:dist', cb => webpackCompile ( { BUILD : true } , cb));
243242gulp.task('webpack:test', cb => webpackCompile ( { TEST : true } , cb));
244- < % _ if ( filters . ts ) { - % >
245-
246- // Install DefinitelyTyped TypeScript definition files
247- gulp.task('typings', () => {
248- return gulp . src ( "./typings.json" )
249- . pipe ( plugins . typings ( ) ) ;
250- } );< % } % >
251243
252244gulp.task('styles', () => {
253245 < % _ if ( ! filters . css ) { _ % >
@@ -352,8 +344,7 @@ gulp.task('serve', cb => {
352344 'lint:scripts' ,
353345 'inject' ,
354346 'copy:fonts:dev' ,
355- 'env:all' < % if ( filters . ts ) { % > ,
356- 'typings' < % } % >
347+ 'env:all'
357348 ] ,
358349 // 'webpack:dev',
359350 [ 'start:server' , 'start:client' ] ,
@@ -369,8 +360,7 @@ gulp.task('serve:debug', cb => {
369360 'lint:scripts' ,
370361 'inject' ,
371362 'copy:fonts:dev' ,
372- 'env:all' < % if ( filters . ts ) { % > ,
373- 'typings' < % } % >
363+ 'env:all'
374364 ] ,
375365 'webpack:dev' ,
376366 'start:inspector' ,
@@ -481,8 +471,7 @@ gulp.task('build', cb => {
481471 'inject' ,
482472 'transpile:server' ,
483473 [
484- 'build:images' < % if ( filters . ts ) { % > ,
485- 'typings' < % } % >
474+ 'build:images'
486475 ] ,
487476 [
488477 'copy:extras' ,
0 commit comments