chore: 录像调试说明 & 打包调试

This commit is contained in:
AncTe committed 2025-10-20 13:34:34 +08:00
1 parent a521699094
commit 66e60f5f15
2 files changed
+12

No files matched your search

+4
View File
@@ -13,6 +13,9 @@ import { RequiredData, RequiredIconsData, ResourceType } from './types';
import { splitResource, SplittedResource } from './build-resource';
import { formatSize } from './utils';
/** 打包调试 */
const DEBUG_BUILD = false;
/** 录像验证调试 */
const DEBUG_REPLAY = false;
const ansi = {
@@ -52,6 +55,7 @@ async function buildClient(outDir: string) {
build: {
outDir,
copyPublicDir: true,
minify: !DEBUG_BUILD,
rollupOptions: {
external: ['@wasm-audio-decoders/opus-ml'],
output: {