build.js 476 B

1234567891011121314151617
  1. /**
  2. * React Static Boilerplate
  3. * https://github.com/koistya/react-static-boilerplate
  4. *
  5. * Copyright © 2015-2016 Konstantin Tarkus (@koistya)
  6. *
  7. * This source code is licensed under the MIT license found in the
  8. * LICENSE.txt file in the root directory of this source tree.
  9. */
  10. const task = require('./task');
  11. module.exports = task('build', () => Promise.resolve()
  12. .then(() => require('./clean'))
  13. .then(() => require('./copy'))
  14. .then(() => require('./bundle'))
  15. );