webpack/examples/dll-user/webpack.config.js

15 lines
368 B
JavaScript
Raw Normal View History

2015-05-17 17:06:35 +08:00
var path = require("path");
var DllReferencePlugin = require("../../lib/DllReferencePlugin");
module.exports = {
plugins: [
new DllReferencePlugin({
context: path.join(__dirname, "..", "dll"),
manifest: require("../dll/js/alpha-manifest.json")
}),
2015-05-18 05:03:21 +08:00
new DllReferencePlugin({
2015-05-17 17:06:35 +08:00
scope: "beta",
manifest: require("../dll/js/beta-manifest.json")
})
2015-05-18 05:03:21 +08:00
]
2015-05-17 17:06:35 +08:00
};