webpack 多entry 配置

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

 

posted on 2016-06-15 13:04  荣锋亮  阅读(5537)  评论(0编辑  收藏  举报

导航