mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
fix
This commit is contained in:
parent
c91b83a7ba
commit
c72b40a1e1
2
src/core
2
src/core
@ -1 +1 @@
|
||||
Subproject commit 2edfc143d50e628928dbd83311b3ddf47c3374c1
|
||||
Subproject commit 853c771c0500cf91fc35b68d21ac2a101820334d
|
@ -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' };
|
||||
})),
|
||||
|
Loading…
Reference in New Issue
Block a user