Skip to content

Commit 7932486

Browse files
committed
fix non resolved path for windows
1 parent 288111b commit 7932486

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/configCases/dll-plugin/1-use-dll/webpack.config.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ var webpack = require("../../../../");
44
module.exports = {
55
plugins: [
66
new webpack.DllReferencePlugin({
7-
manifest: require("../../../js/config/dll-plugin/manifest0.json"),
8-
name: "../0-create-dll/dll.js",
7+
manifest: require(path.resolve(__dirname, "../../../js/config/dll-plugin/manifest0.json")),
8+
name: path.resolve(__dirname, "../0-create-dll/dll.js"),
99
scope: "dll",
1010
sourceType: "commonjs2",
1111
extensions: ['.js', '.jsx']
1212
})
1313
]
14-
}
14+
}

0 commit comments

Comments
 (0)