build.js 338 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. export default async () => {
  7. await require('./clean')();
  8. const pages = await require('./pages')();
  9. await require('./bundle')({ pages });
  10. await require('./render')({ pages });
  11. };