Skip to content

Commit b622c01

Browse files
committed
add test case for module concatenation with dll plugin
1 parent 485c167 commit b622c01

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import "./module";
2+
3+
export default 1;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default 2;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exports.noTests = true;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const path = require("path");
2+
var webpack = require("../../../../");
3+
module.exports = {
4+
entry: ["./index.js"],
5+
plugins: [
6+
new webpack.DllPlugin({
7+
path: path.resolve(__dirname, "../../../js/config/scope-hoisting/create-dll-plugin/manifest.json")
8+
}),
9+
new webpack.optimize.ModuleConcatenationPlugin()
10+
]
11+
};

0 commit comments

Comments
 (0)