Skip to content

Commit 823fd4d

Browse files
committed
add NamedChunksPlugin to "all case" test-cases
1 parent 9bfae7e commit 823fd4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/TestCases.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
/* global describe, it*/
12
"use strict";
23

3-
const should = require("should");
4+
require("should");
45
const path = require("path");
56
const fs = require("fs");
67
const vm = require("vm");
@@ -92,7 +93,8 @@ describe("TestCases", () => {
9293
plugins: [
9394
new webpack.HotModuleReplacementPlugin(),
9495
new webpack.optimize.UglifyJsPlugin(),
95-
new webpack.NamedModulesPlugin()
96+
new webpack.NamedModulesPlugin(),
97+
new webpack.NamedChunksPlugin()
9698
]
9799
}].forEach((config) => {
98100
describe(config.name, () => {

0 commit comments

Comments
 (0)