clean.js 430 B

1234567891011121314
  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 del = require('del');
  11. const task = require('./task');
  12. module.exports = task('clean', () => del(['build/*', '!build/.git'], { dot: true }));