File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 2525 "@babel/types" : " ^7.28.5" ,
2626 "@iarna/toml" : " ^2.2.5" ,
2727 "@rpgjs/server" : " workspace:*" ,
28- "@types/node" : " ^24.10.1 " ,
29- "acorn" : " ^8.15.0 " ,
28+ "@types/node" : " ^20.0.0 " ,
29+ "acorn" : " ^8.14.1 " ,
3030 "acorn-walk" : " ^8.3.4" ,
3131 "fs-extra" : " ^11.3.2" ,
3232 "glob" : " ^13.0.0" ,
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'vite' ;
2+ import { compatibilityV4Plugin , rpgjs } from '@rpgjs/vite' ;
3+ import path from 'path' ;
4+
5+ export default defineConfig ( {
6+ plugins : [
7+ compatibilityV4Plugin ( {
8+ type : 'mmorpg' ,
9+ serveMode : true
10+ } , {
11+ modules : [
12+ './src/modules/main'
13+ ]
14+ } ) ,
15+ ...rpgjs ( ) ,
16+ ] ,
17+ resolve : {
18+ alias : {
19+ '@' : path . resolve ( __dirname , './src' )
20+ }
21+ } ,
22+ server : {
23+ port : 3000
24+ }
25+ } ) ;
You can’t perform that action at this time.
0 commit comments