mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 10:01:09 +08:00
8 lines
200 B
JavaScript
8 lines
200 B
JavaScript
#!/usr/bin/env node
|
|
const path = require('path');
|
|
const shelljs = require('shelljs');
|
|
|
|
const pathname = path.join(process.cwd(), './dist');
|
|
shelljs.rm('-rf', pathname);
|
|
shelljs.mkdir('-p', pathname);
|