UNPKG

323 BJavaScriptView Raw
1const bf = require('./babelFiles');
2const sh = require('child_process').execSync;
3
4sh(`rm -rf dist`)
5sh(`cp -R ./src ./dist`);
6
7// bf('../dist', '../dist').then(() => {
8// console.log('-========');
9// });
10
11async function babel() {
12 await bf('../dist', '../dist');
13 console.log('我结束了');
14}
15
16babel();
\No newline at end of file