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); })();
1 2 3 4 5 6 7 8 9 10 11 12
const fs = require('fs-extra'); (async() => { const src = '../dist'; const copy = './dist'; await fs.remove(copy); await fs.copy(src, copy); })();