1 const HtmlWebpackPlugin = require('html-webpack-plugin')
5 path:"./src/VideoComponent.js",
6 outputHtml:"video_component.html",
10 path:"./src/VideoOverlay.js",
11 outputHtml:"video_overlay.html",
15 path:"./src/Panel.js",
16 outputHtml:"panel.html",
20 path:"./src/Config.js",
21 outputHtml:"config.html",
25 path:"./src/LiveConfig.js",
26 outputHtml:"live_config.html",
30 path:"./src/Mobile.js",
31 outputHtml:"mobile.html",
38 for(name in entryPoints){
39 if(entryPoints[name].build){
40 entry[name]=entryPoints[name].path
41 output.push(new HtmlWebpackPlugin({
44 template:'./template.html',
45 filename:entryPoints[name].outputHtml