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

16 lines
353 B
JavaScript
Raw Normal View History

var path = require("path");
var webpack = require("../../../../");
module.exports = {
entry: ["./a", "./b", "./_d", "./_e"],
output: {
filename: "dll.js",
chunkFilename: "[id].dll.js",
libraryTarget: "commonjs2"
},
plugins: [
new webpack.DllPlugin({
path: path.resolve(__dirname, "../../../js/config/dll-plugin/manifest0.json")
})
]
}