copy.js 388 B

12345678910111213141516
  1. /**
  2. * React Static Boilerplate
  3. * https://github.com/koistya/react-static-boilerplate
  4. * Copyright (c) Konstantin Tarkus (@koistya) | MIT license
  5. */
  6. import task from './lib/task';
  7. import cp from './lib/copy';
  8. /**
  9. * Copies static files such as robots.txt, favicon.ico to the
  10. * output (build) folder.
  11. */
  12. export default task(async function copy() {
  13. await cp('static', 'build');
  14. });