更多内容已经迁移至掘金,欢迎来指导学习:
https://juejin.im/post/5d64a0b8518825395a35626a
1. 一般是采用对象语法:
entry: { index: './src/default/js/index.js' },
https://webpack.css88.com/concepts/entry-points.html