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

@ -8,7 +8,6 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = merge.smart(require('./webpack.base.js'), {
entry: {
cms: './index',
init: './init',
},
output: {
path: path.join(__dirname, 'dist'),