Implement scene-based chapter quest progression
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-08 11:58:47 +08:00
parent 9d2fc9e4b8
commit bd9fdcbe31
170 changed files with 18259 additions and 1049 deletions

View File

@@ -8,6 +8,13 @@ import {createLocalApiPlugins} from './scripts/dev-server/localApiPlugins';
export default defineConfig(({mode}) => {
const env = loadEnv(mode, __dirname, '');
const ignoredWatchGlobs = [
'**/dist/**',
'**/dist_check/**',
'**/dist_check_final/**',
'**/dist_check_monster_position/**',
'**/temp*build*/**',
];
return {
root: __dirname,
@@ -25,12 +32,20 @@ export default defineConfig(({mode}) => {
'@': path.resolve(__dirname, '.'),
},
},
optimizeDeps: {
// Only crawl the real app entry so temporary build folders do not get
// treated as extra HTML entrypoints during dependency scanning.
entries: ['index.html'],
},
build: {
chunkSizeWarningLimit: 750,
},
server: {
// HMR is disabled in AI Studio via DISABLE_HMR env var.
// Do not modify; file watching is disabled to prevent flickering during agent edits.
hmr: process.env.DISABLE_HMR !== 'true',
watch: {
ignored: ['**/dist/**', '**/dist_check/**', '**/dist_check_final/**', '**/dist_check_monster_position/**'],
ignored: ignoredWatchGlobs,
},
},
};