webpack.config.umd.js 465 字节
module.exports = function (umdConf) {
  umdConf.devServer.host = '0.0.0.0';
  umdConf.devServer.port = '9000';
  umdConf.output.publicPath = '';

  umdConf.webpackFeatures.enableEntryHTML();
  umdConf.webpackFeatures.enableEntryHTML('test');

  if (umdConf.devMode) {
    umdConf.webpackFeatures.enableEntryHot('main');
    umdConf.webpackFeatures.enableEntryHot('test');
  } else {
    umdConf.webpackFeatures.enableUglifyJs({
      comments: false
    });
  }
};