// webpack 多entry 配置
var path = require('path'); module.exports = {
entry: {
entry2: './entry.js',
demo2: './demo.js'
},
output: {
path: __dirname,
filename: '[name].js'
}
};
// webpack 多entry 配置
var path = require('path'); module.exports = {
entry: {
entry2: './entry.js',
demo2: './demo.js'
},
output: {
path: __dirname,
filename: '[name].js'
}
};