File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/angular-cli/models Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ export function getWebpackCommonConfig(
5252
5353 // process global scripts
5454 if ( appConfig . scripts . length > 0 ) {
55- const globalScrips = extraEntryParser ( appConfig . scripts , appRoot , 'scripts' ) ;
55+ const globalScripts = extraEntryParser ( appConfig . scripts , appRoot , 'scripts' ) ;
5656
5757 // add entry points and lazy chunks
58- globalScrips . forEach ( script => {
58+ globalScripts . forEach ( script => {
5959 if ( script . lazy ) { lazyChunks . push ( script . entry ) ; }
6060 entryPoints [ script . entry ] = ( entryPoints [ script . entry ] || [ ] ) . concat ( script . path ) ;
6161 } ) ;
6262
6363 // load global scripts using script-loader
6464 extraRules . push ( {
65- include : globalScrips . map ( ( script ) => script . path ) , test : / \. j s $ / , loader : 'script-loader'
65+ include : globalScripts . map ( ( script ) => script . path ) , test : / \. j s $ / , loader : 'script-loader'
6666 } ) ;
6767 }
6868
You can’t perform that action at this time.
0 commit comments