Skip to content

Commit 771bf85

Browse files
committed
Added chunkFilenameDelimiter option for SplitChunksPlugin: Fixed test issue
1 parent bda8d52 commit 771bf85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/optimize/SplitChunksPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ module.exports = class SplitChunksPlugin {
126126
};
127127
return fn;
128128
}
129-
if (typeof option === "string") {
129+
if (typeof name === "string") {
130130
const fn = () => {
131131
return name;
132132
};
133133
return fn;
134134
}
135-
if (typeof option === "function") return name;
135+
if (typeof name === "function") return name;
136136
}
137137

138138
static normalizeCacheGroups({ cacheGroups, automaticNameDelimiter }) {

0 commit comments

Comments
 (0)