webpack icon indicating copy to clipboard operation
webpack copied to clipboard

基于webpack的前端工程化开发解决方案探索

Results 2 webpack issues
Sort by recently updated
recently updated
newest added

比如我在`src/view/`新建一个`about.html`页面,执行`webpack`,在`dist`文件下没有看见`about.html`页面。 我看了下`webpack.config.js`: ` new HtmlWebpackPlugin({ //根据模板插入css/js等生成最终HTML favicon: './src/img/favicon.ico', //favicon路径 filename: ['/view/index.html'], //生成的html存放路径,相对于 path template: './src/view/index.html', //html模板路径 }) ` 是在`filename`和`template`添加吗?发现不行, 请问下,每新建一个页面具体都要做些什么?