mirror of https://github.com/webpack/webpack.git
17 lines
309 B
JavaScript
17 lines
309 B
JavaScript
|
var webpack = require("../../../../");
|
||
|
module.exports = {
|
||
|
node: {
|
||
|
__dirname: false,
|
||
|
__filename: false
|
||
|
},
|
||
|
devtool: "source-map",
|
||
|
output: {
|
||
|
sourceMapFilename: "[file]-[contenthash].map?[contenthash]-[contenthash]",
|
||
|
},
|
||
|
plugins: [
|
||
|
new webpack.optimize.UglifyJsPlugin({
|
||
|
sourceMap: true
|
||
|
})
|
||
|
]
|
||
|
};
|