code: function browserBuild(config) {
    const compiler = webpack(config);
    return new Promise((resolve, reject) => {
      compiler.run((err, stats) => {
        if (err) {
          return reject(err);
        }
        const messages = formatWebpackMessages(stats.toJson({}, true));
        if (messages.errors.length) {
          return reject(new Error(messages.errors.join('\n\n')));
        }
        return resolve({ stats, warnings: messages.warnings });
      });
    });
  }
docs: Create the browser build