mirror of https://github.com/webpack/webpack.git
22 lines
407 B
JavaScript
22 lines
407 B
JavaScript
|
|
var webpack = require("../../../../");
|
||
|
|
module.exports = {
|
||
|
|
node: {
|
||
|
|
__dirname: false,
|
||
|
|
__filename: false
|
||
|
|
},
|
||
|
|
entry: {
|
||
|
|
"bundle0": ["./index.js"],
|
||
|
|
"dist/public/test": ["./test.js"],
|
||
|
|
},
|
||
|
|
output: {
|
||
|
|
filename: "[name].js"
|
||
|
|
},
|
||
|
|
plugins: [
|
||
|
|
new webpack.SourceMapDevToolPlugin({
|
||
|
|
filename: "sourcemaps/[file].map",
|
||
|
|
publicPath: "https://10.10.10.10/project/",
|
||
|
|
fileContext: "dist/public"
|
||
|
|
})
|
||
|
|
]
|
||
|
|
};
|