build.js 390 B

123456789101112
  1. /**
  2. * React Static Boilerplate
  3. * https://github.com/koistya/react-static-boilerplate
  4. * Copyright (c) Konstantin Tarkus (@koistya) | MIT license
  5. */
  6. (async () => {
  7. await require('./clean')();
  8. const pages = await require('./pages')();
  9. await require('./bundle')({ pages });
  10. await require('./render')({ pages });
  11. })().then(() => console.log('done'), err => console.log(err.stack));