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