File tree 1 file changed +3
-3
lines changed
packages/angular-cli/models
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ export function getWebpackCommonConfig(
52
52
53
53
// process global scripts
54
54
if ( appConfig . scripts . length > 0 ) {
55
- const globalScrips = extraEntryParser ( appConfig . scripts , appRoot , 'scripts' ) ;
55
+ const globalScripts = extraEntryParser ( appConfig . scripts , appRoot , 'scripts' ) ;
56
56
57
57
// add entry points and lazy chunks
58
- globalScrips . forEach ( script => {
58
+ globalScripts . forEach ( script => {
59
59
if ( script . lazy ) { lazyChunks . push ( script . entry ) ; }
60
60
entryPoints [ script . entry ] = ( entryPoints [ script . entry ] || [ ] ) . concat ( script . path ) ;
61
61
} ) ;
62
62
63
63
// load global scripts using script-loader
64
64
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'
66
66
} ) ;
67
67
}
68
68
You can’t perform that action at this time.
0 commit comments