example_app/tools/bundle.js
function bundle() {
  return new Promise((resolve, reject) => {
    webpack(webpackConfig).run((err, stats) => {
      if (err) {
        return reject(err);
      }

      console.log(stats.toString(webpackConfig[0].stats));
      return resolve();
    });
  });
}
function bundle() {
  return new Promise((resolve, reject) => {
    webpack(webpackConfig).run((err, stats) => {
      if (err) {
        return reject(err);
      }

      console.log(stats.toString(webpackConfig[0].stats));
      return resolve();
    });
  });
}
function bundle ( ) { return new Promise ( ( resolve , reject ) => { webpack ( webpackConfig ) . run ( ( err , stats ) => { if ( err ) { return reject ( err ) ; } console . log ( stats . toString ( webpackConfig [ 0 ] . stats ) ) ; return resolve ( ) ; } ) ; } ) ; }
Creates application bundles from the source files.
Creates application bundles from the source files .