mirror of https://github.com/webpack/webpack.git
29 lines
403 B
JavaScript
29 lines
403 B
JavaScript
"use strict";
|
|
|
|
module.exports = [
|
|
{
|
|
entry: "./example.js",
|
|
output: {
|
|
pathinfo: true,
|
|
filename: "output.js"
|
|
},
|
|
optimization: {
|
|
moduleIds: "size",
|
|
usedExports: true,
|
|
mangleExports: true
|
|
}
|
|
},
|
|
{
|
|
entry: "./example.js",
|
|
output: {
|
|
pathinfo: true,
|
|
filename: "without.js"
|
|
},
|
|
optimization: {
|
|
moduleIds: "size",
|
|
usedExports: false,
|
|
mangleExports: false
|
|
}
|
|
}
|
|
];
|