改用pnpm

This commit is contained in:
icssoa 2024-04-21 11:29:45 +08:00
parent 6210f18a8b
commit 1e1296d14d
3 changed files with 5076 additions and 3932 deletions

View File

@ -30,16 +30,14 @@ export function virtual(): Plugin {
},
async handleHotUpdate({ file, server }) {
// 代码保存时触发
if (!file.includes("build/cool/dist")) {
const { service } = await createEps();
if (!["dist"].some((e) => file.includes(e))) {
createEps().then((data) => {
// 通知客户端刷新
server.ws.send({
type: "custom",
event: "eps-update",
data: {
service
}
data
});
});
}
},

5068
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

3922
yarn.lock

File diff suppressed because it is too large Load Diff