Skip to content

Commit 66286f8

Browse files
authored
Merge pull request #673 from spoike/patch-1
fix typo in commons-chunk-plugin.md
2 parents 481efdd + 1bba719 commit 66286f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/plugins/commons-chunk-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ new CommonsChunkPlugin({
161161
// If module has a path, and inside of the path exists the name "somelib",
162162
// and it is used in 3 separate chunks/entries, then break it out into
163163
// a separate chunk with chunk keyname "my-single-lib-chunk", and filename "my-single-lib-chunk.js"
164-
return module.resouce && (/somelib/).test(module.resource) && count === 3;
164+
return module.resource && (/somelib/).test(module.resource) && count === 3;
165165
}
166166
});
167167
```

0 commit comments

Comments
 (0)