mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
21 lines
374 B
TypeScript
21 lines
374 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
server: {
|
|
port: 5741,
|
|
},
|
|
|
|
plugins: [
|
|
tsconfigPaths(),
|
|
react({
|
|
babel: {
|
|
plugins: [["module:@preact/signals-react-transform"]],
|
|
},
|
|
}),
|
|
],
|
|
});
|