webpack 多entry 配置

// webpack 多entry 配置
var
path = require('path'); module.exports = { entry: { entry2: './entry.js', demo2: './demo.js' }, output: { path: __dirname, filename: '[name].js' } };
原文地址:https://www.cnblogs.com/rongfengliang/p/5587098.html