Skip to content

Commit 6c38cf9

Browse files
committed
fixes to tests and examples
1 parent 25cab58 commit 6c38cf9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/dll-user/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ module.exports = {
88
}),
99
new webpack.DllReferencePlugin({
1010
scope: "beta",
11-
manifest: require("../dll/js/beta-manifest.json")
11+
manifest: require("../dll/js/beta-manifest.json"),
12+
extensions: [".js", ".jsx"]
1213
})
1314
]
1415
};

test/configCases/dll-plugin/0-create-dll/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var webpack = require("../../../../");
44
module.exports = {
55
entry: ["./a", "./b", "./_d", "./_e", "./f"],
66
resolve: {
7-
extensions: ['', '.js', '.jsx']
7+
extensions: [".js", ".jsx"]
88
},
99
output: {
1010
filename: "dll.js",
@@ -16,4 +16,4 @@ module.exports = {
1616
path: path.resolve(__dirname, "../../../js/config/dll-plugin/manifest0.json")
1717
})
1818
]
19-
}
19+
}

0 commit comments

Comments
 (0)