Skip to content

Commit 34cde9f

Browse files
Suguru Inatomihansl
Suguru Inatomi
authored andcommittedDec 28, 2016
chore(typo): fix spelling of 'globalScripts' (#3694)
1 parent 8b47a90 commit 34cde9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎packages/angular-cli/models/webpack-build-common.ts

+3-3
Original file line numberDiff line numberDiff 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: /\.js$/, loader: 'script-loader'
65+
include: globalScripts.map((script) => script.path), test: /\.js$/, loader: 'script-loader'
6666
});
6767
}
6868

0 commit comments

Comments
 (0)
Please sign in to comment.