仪表盘
版本库
文件存储
活动
搜索
登录
WI
/
Web.V1.0
AI水务
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
打包优化: 1)使用 lodash-es 2)element-plus按需导入
wujingjing
2024-11-18
8703f7ddda1cbdbee1cefc4c8f9a31ea97272494
[WI/Web.V1.0.git]
/
scripts
/
dev.js
1
2
3
4
5
6
7
8
9
10
11
const { copyFile, checkCustomer, firstCustomerName, isPro,changeBranch } = require('./helper');
const { execSync } = require('child_process');
changeBranch();
checkCustomer('npm run dev', firstCustomerName);
copyFile();
try {
execSync('vite', { stdio: 'inherit' });
} catch (error) {}