๐Ÿ“ฆ fredsa / mt

๐Ÿ“„ cp-angular.js ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12const fs = require('fs-extra');

(async() => {

    const src = '../dist';
    const copy = './dist';

    await fs.remove(copy);
    await fs.copy(src, copy);

})();