This commit is contained in:
2017-02-10 00:33:25 +00:00
commit a3e6ce3fb5
99 changed files with 11317 additions and 0 deletions

20
tools/bundle.js Normal file
View File

@@ -0,0 +1,20 @@
import webpack from 'webpack';
import webpackConfig from './webpack.config';
/**
* Creates application bundles from the source files.
*/
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();
});
});
}
export default bundle;