feat(web-client): implement a basic web client
This commit is contained in:
parent
991b82d750
commit
8b8f84ede1
13 changed files with 12506 additions and 9 deletions
16
web-client/vite.config.ts
Normal file
16
web-client/vite.config.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { defineConfig } from "vite";
|
||||
import preact from "@preact/preset-vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [preact(), tsconfigPaths({ projects: ["./src/tsconfig.json"] })],
|
||||
resolve: {
|
||||
alias: {
|
||||
react: "preact/compat",
|
||||
"react-dom": "preact/compat",
|
||||
"react-dom/test-utils": "preact/test-utils",
|
||||
"react/jsx-runtime": "preact/jsx-runtime",
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue