chore: install inline-schema

This commit is contained in:
2026-04-04 22:52:40 +08:00
parent 76687de672
commit 99dc5e29e7
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@
"@preact/signals-core": "^1.5.1",
"boardgame-core": "link:../../../boardgame-core",
"boardgame-phaser": "workspace:*",
"inline-schema": "link:../../../inline-schema",
"mutative": "^1.3.0",
"phaser": "^3.80.1",
"preact": "^10.19.3"
+2 -1
View File
@@ -2,9 +2,10 @@ import { defineConfig } from 'vite';
import preact from '@preact/preset-vite';
import tailwindcss from '@tailwindcss/vite';
import path from 'path';
import {csvLoader} from 'inline-schema/csv-loader/rollup';
export default defineConfig({
plugins: [preact(), tailwindcss()],
plugins: [preact(), tailwindcss(), csvLoader()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),