UNPKG

@webpack-contrib/defaults

Version:

Project configuration and boilerplate defaults for webpack projects

12 lines (10 loc) 216 B
export default (compiler) => { return new Promise((resolve, reject) => { compiler.run((error, stats) => { if (error) { return reject(error); } return resolve(stats); }); }); };