2 Star 2 Fork 1

尹智山/vue微前端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
move.js 845 Bytes
一键复制 编辑 原始数据 按行查看 历史
尹智山 提交于 2021-07-28 11:01 . feat(*):init
const path = require('path');
const fs = require('fs-extra');
const tasks = [
{
src: 'applications/app-entry/dist',
dest: 'docs',
},
{
src: 'applications/app-typescript/dist',
dest: 'docs/app-typescript',
},
{
src: 'applications/app-javascript/dist',
dest: 'docs/app-javascript',
},
{
src: 'applications/app-order/dist',
dest: 'docs/app-order',
},
{
src: 'applications/app-user/dist',
dest: 'docs/app-user',
},
{
src: 'applications/app-inventory/dist',
dest: 'docs/app-inventory',
},
];
fs.removeSync(path.resolve(__dirname, 'dist'));
for (const { src, dest } of tasks) {
fs.moveSync(path.resolve(__dirname, src), path.resolve(__dirname, dest));
console.log(
'\x1b[1m%s\x1b[31m%s\x1b[0m',
'[Copy]: ',
`src: ${src}, dest: ${dest}`,
'success.',
);
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/webh5/vueweiqianduan.git
git@gitee.com:webh5/vueweiqianduan.git
webh5
vueweiqianduan
vue微前端
master

搜索帮助