Skip to content

Commit 983cb60

Browse files
committed
Merge branch 'v5-compatibility-with-v4' of github.com:RSamaium/RPG-JS into v5-compatibility-with-v4
2 parents 888137a + be0b1f3 commit 983cb60

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

packages/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
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",
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
});

0 commit comments

Comments
 (0)