改用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 }) { async handleHotUpdate({ file, server }) {
// 代码保存时触发 // 代码保存时触发
if (!file.includes("build/cool/dist")) { if (!["dist"].some((e) => file.includes(e))) {
const { service } = await createEps(); createEps().then((data) => {
// 通知客户端刷新
// 通知客户端刷新 server.ws.send({
server.ws.send({ type: "custom",
type: "custom", event: "eps-update",
event: "eps-update", data
data: { });
service
}
}); });
} }
}, },

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