webpack.config.js====entry入口文件的配置

 

1.  一般是采用对象语法:

    entry: {
        index: './src/default/js/index.js'
    },

 

https://webpack.css88.com/concepts/entry-points.html

posted @ 2019-01-20 18:23  songxia777  阅读(1077)  评论(0编辑  收藏  举报