copy.js 502 B

123456789101112131415161718
  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 cpy = require('cpy');
  11. const task = require('./task');
  12. /**
  13. * Copies static files such as robots.txt, favicon.ico to the
  14. * output (build) folder.
  15. */
  16. module.exports = task('copy', cpy(['static/**/*'], 'build'));