copy.js 368 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 copy from './lib/copy';
  7. /**
  8. * Copies static files such as robots.txt, favicon.ico to the
  9. * output (build) folder.
  10. */
  11. export default async () => {
  12. console.log('copy');
  13. await copy('static', 'build');
  14. };