Skip to content

Commit 94b21d4

Browse files
test(helpers/compiler): use options.names instead of option.name (CommonsChunkPlugin)
1 parent 50134bb commit 94b21d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const modules = (config) => {
3030

3131
const plugins = config => ([
3232
new webpack.optimize.CommonsChunkPlugin({
33-
name: ['runtime'],
33+
names: ['runtime'],
3434
minChunks: Infinity,
3535
}),
3636
].concat(config.plugins || []));

0 commit comments

Comments
 (0)