Implement scene-based chapter quest progression
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user