mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-12-03 07:44:30 +08:00
chore: 录像调试说明 & 打包调试
This commit is contained in:
1 parent
a521699094
commit
66e60f5f15
2 files changed
+12
No files matched your search
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user