This commit is contained in:
手瓜一十雪 2024-04-25 18:15:03 +08:00
parent c91b83a7ba
commit c72b40a1e1
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 2edfc143d50e628928dbd83311b3ddf47c3374c1
Subproject commit 853c771c0500cf91fc35b68d21ac2a101820334d

View File

@ -11,7 +11,7 @@ import os from 'node:os';
import fs from 'node:fs';
const external = ['silk-wasm', 'ws', 'express', 'uuid', 'fluent-ffmpeg', 'sqlite3', 'log4js',
'qrcode-terminal', 'MoeHook'];
'qrcode-terminal', 'MoeHoo'];
const nodeModules = [...builtinModules, builtinModules.map(m => `node:${m}`)].flat();
// let nodeModules = ["fs", "path", "events", "buffer", "url", "crypto", "fs/promise", "fsPromise", "os", "http", "net"]
@ -37,7 +37,7 @@ const baseConfigPlugin: PluginOption[] = [
{ src: './src/onebot11/onebot11.json', dest: 'dist/config/' },
{ src: './package.json', dest: 'dist' },
{ src: './README.md', dest: 'dist' },
{ src: './src/core.lib/MoeHook.node', dest: 'dist' },
{ src: './src/core.lib/MoeHoo.node', dest: 'dist' },
...(startScripts.map((startScript) => {
return { src: startScript, dest: 'dist' };
})),