mirror of https://github.com/webpack/webpack.git
23 lines
381 B
JavaScript
23 lines
381 B
JavaScript
|
var webpack = require("../../../../");
|
||
|
var path = require("path");
|
||
|
var os = require("os");
|
||
|
|
||
|
module.exports = {
|
||
|
node: {
|
||
|
__dirname: false,
|
||
|
__filename: false
|
||
|
},
|
||
|
entry: {
|
||
|
bundle0: ["./index.js"]
|
||
|
},
|
||
|
output: {
|
||
|
filename: "[name].js"
|
||
|
},
|
||
|
plugins: [
|
||
|
new webpack.debug.ProfilingPlugin({
|
||
|
outputPath: path.join(os.tmpdir(), "events.json")
|
||
|
})
|
||
|
],
|
||
|
devtool: "source-map"
|
||
|
};
|