fix: 轻量版

This commit is contained in:
手瓜一十雪
2025-03-21 15:16:29 +08:00
parent 441a34e0bf
commit f7cc25adc1

View File

@@ -6,10 +6,6 @@ import { builtinModules } from 'module';
import wasm from 'vite-plugin-wasm';
//依赖排除
const external = [
'silk-wasm',
'ws',
'express',
'@ffmpeg.wasm/core-mt'
];
const nodeModules = [...builtinModules, builtinModules.map((m) => `node:${m}`)].flat();
@@ -71,7 +67,6 @@ const ShellBaseConfigPlugin: PluginOption[] = [
targets: [
{ src: './src/native/packet', dest: 'dist/moehoo', flatten: false },
{ src: './src/native/pty', dest: 'dist/pty', flatten: false },
{ src: './napcat.webui/dist/', dest: 'dist/static/', flatten: false },
{ src: './src/core/external/napcat.json', dest: 'dist/config/' },
{ src: './package.json', dest: 'dist' },
{ src: './launcher/', dest: 'dist', flatten: true },