File tree 5 files changed +6
-26
lines changed
packages/angular-cli/blueprints/ng2/files
5 files changed +6
-26
lines changed Original file line number Diff line number Diff line change 1
- import './polyfills.ts' ;
2
-
3
1
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ;
4
2
import { enableProdMode } from '@angular/core' ;
5
3
import { environment } from './environments/environment' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import './polyfills.ts' ;
2
-
3
1
import 'zone.js/dist/long-stack-trace-zone' ;
4
2
import 'zone.js/dist/proxy.js' ;
5
3
import 'zone.js/dist/sync-test' ;
Original file line number Diff line number Diff line change 20
20
"styles" : [
21
21
" styles.<%= styleExt %>"
22
22
],
23
- "scripts" : [],
23
+ "scripts" : [
24
+ " <%= relativeRootPath %>/node_modules/core-js/client/shim.min.js" ,
25
+ " <%= relativeRootPath %>/node_modules/zone.js/dist/zone.js"
26
+ ],
24
27
"environments" : {
25
28
"source" : " environments/environment.ts" ,
26
29
"dev" : " environments/environment.ts" ,
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ export default function () {
60
60
. then ( ( ) => expectToFail ( ( ) => ng ( 'test' , '--single-run' ) ) )
61
61
. then ( ( ) => updateJsonFile ( 'angular-cli.json' , configJson => {
62
62
const app = configJson [ 'apps' ] [ 0 ] ;
63
- app [ 'scripts' ] = [
63
+ app [ 'scripts' ] = app [ 'scripts' ] . concat ( [
64
64
'string-script.js' ,
65
65
{ input : 'input-script.js' }
66
- ] ;
66
+ ] ) ;
67
67
} ) )
68
68
// should pass now
69
69
. then ( ( ) => ng ( 'test' , '--single-run' ) ) ;
You can’t perform that action at this time.
0 commit comments