We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda8d52 commit 771bf85Copy full SHA for 771bf85
lib/optimize/SplitChunksPlugin.js
@@ -126,13 +126,13 @@ module.exports = class SplitChunksPlugin {
126
};
127
return fn;
128
}
129
- if (typeof option === "string") {
+ if (typeof name === "string") {
130
const fn = () => {
131
return name;
132
133
134
135
- if (typeof option === "function") return name;
+ if (typeof name === "function") return name;
136
137
138
static normalizeCacheGroups({ cacheGroups, automaticNameDelimiter }) {
0 commit comments