This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class ExampleZipper {
61
61
const exampleDirName = path . dirname ( configFileName ) ;
62
62
const examplesPackageJson = 'public/docs/_examples/package.json' ;
63
63
const examplesSystemjsConfig = 'public/docs/_examples/_boilerplate/src/systemjs.config.js' ;
64
+ const examplesSystemjsLoaderConfig = 'public/docs/_examples/_boilerplate/src/systemjs-angular-loader.js' ;
64
65
const exampleTsconfig = 'public/docs/_examples/_boilerplate/src/tsconfig.json' ;
65
66
let exampleZipName = jsonFileName . replace ( / ( p l n k r | z i p p e r ) .j s o n / , relativeDirName ) ;
66
67
const outputFileName = path . join ( outputDirName , relativeDirName , exampleZipName + '.zip' ) ;
@@ -136,6 +137,7 @@ class ExampleZipper {
136
137
// also a systemjs config
137
138
if ( ! json . removeSystemJsConfig ) {
138
139
zip . append ( fs . readFileSync ( examplesSystemjsConfig , 'utf8' ) , { name : 'src/systemjs.config.js' } ) ;
140
+ zip . append ( fs . readFileSync ( examplesSystemjsLoaderConfig , 'utf8' ) , { name : 'src/systemjs-angular-loader.js' } ) ;
139
141
}
140
142
// a modified tsconfig
141
143
let tsconfig = fs . readFileSync ( exampleTsconfig , 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments