remove external
This commit is contained in:
parent
175e685480
commit
42e32adf86
@ -25,5 +25,5 @@ export default {
|
|||||||
declaration: false,
|
declaration: false,
|
||||||
}), // 使用 @rollup/plugin-typescript 处理 TypeScript 文件
|
}), // 使用 @rollup/plugin-typescript 处理 TypeScript 文件
|
||||||
],
|
],
|
||||||
external: ['ws'],
|
// external: ['ws'],
|
||||||
};
|
};
|
||||||
|
@ -63,7 +63,9 @@ app
|
|||||||
})
|
})
|
||||||
.define(async (ctx) => {
|
.define(async (ctx) => {
|
||||||
const keys = await redis.keys('user:app:*');
|
const keys = await redis.keys('user:app:*');
|
||||||
await redis.del(...keys);
|
if (keys.length > 0) {
|
||||||
|
await redis.del(...keys);
|
||||||
|
}
|
||||||
fs.rmSync(fileStore, { recursive: true });
|
fs.rmSync(fileStore, { recursive: true });
|
||||||
|
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user