auto/manual init w/ single bundle, BYO root element 🎉 (#1173)

* ensure that application is only initialized once

* allow for single bundle init

* enable manual initialization via global flag
This commit is contained in:
Shawn Erquhart
2018-03-28 15:52:57 -04:00
committed by GitHub
parent 085c88e2b8
commit a19bc04c00
6 changed files with 49 additions and 30 deletions

View File

@ -13,7 +13,6 @@ module.exports = merge.smart(require('./webpack.base.js'), {
`webpack-dev-server/client?http://${ HOST }:${ PORT }/`,
'./index',
],
init: './init',
},
output: {
path: path.join(__dirname, 'dist'),