webpack/test/watchCases/plugins/dll-reference-plugin/webpack.config.js

20 lines
386 B
JavaScript

var webpack = require("../../../../");
module.exports = {
plugins: [
new webpack.DllReferencePlugin({
name: "function(id) { return {default: 'ok'}; }",
scope: "dll",
content: {
"./module": {
id: 1,
buildMeta: {
exportsType: "namespace",
providedExports: ["default"]
},
}
}
}),
new webpack.optimize.ModuleConcatenationPlugin()
]
};