require('shelljs/global')
rm('-rf', assetsPath)
mkdir('-p', assetsPath)
cp('-R', 'static/*', assetsPath)
var ora = require('ora')
var spinner = ora('building for production...')
spinner.start()
spinner.stop()
require('shelljs/global')
rm('-rf', assetsPath)
mkdir('-p', assetsPath)
cp('-R', 'static/*', assetsPath)
var ora = require('ora')
var spinner = ora('building for production...')
spinner.start()
spinner.stop()
本文标题:项目构建需要的一些实用的工具
本文链接:https://www.haomeiwen.com/subject/gzlxgxtx.html
网友评论