From da000daaf0372b1d716697ebe16df6992bce5ae2 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 28 Aug 2017 12:39:19 -0700 Subject: [PATCH] webpack: Fix tests (#19218) --- types/webpack/webpack-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index a95cb4ef86..6d56a0c3c3 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -99,7 +99,7 @@ configuration = { configuration = { entry: { a: "./a", b: "./b" }, output: { filename: "[name].js" }, - plugins: [ new webpack.optimize.CommonsChunkPlugin("init.js") ] + plugins: [ new webpack.optimize.CommonsChunkPlugin({ name: "init.js" }) ] }; // @@ -141,7 +141,7 @@ configuration = { filename: "[name].entry.chunk.js" }, plugins: [ - new CommonsChunkPlugin("commons.chunk.js") + new CommonsChunkPlugin({ name: "commons.chunk.js" }) ] };