build.js 611 B

12345678910111213141516171819202122232425
  1. /**
  2. * React Starter Kit (https://www.reactstarterkit.com/)
  3. *
  4. * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
  5. *
  6. * This source code is licensed under the MIT license found in the
  7. * LICENSE.txt file in the root directory of this source tree.
  8. */
  9. import run from './run';
  10. import clean from './clean';
  11. import copy from './copy';
  12. import bundle from './bundle';
  13. /**
  14. * Compiles the project from source files into a distributable
  15. * format and copies it to the output (build) folder.
  16. */
  17. async function build() {
  18. await run(clean);
  19. await run(copy);
  20. await run(bundle);
  21. }
  22. export default build;