Merge branch 'main' of github.com:storytold/storyteller-board into main

This commit is contained in:
Michael Chung committed 2024-09-18 22:04:41 -04:00
commit baeecc59ea
1 file changed
+16
+16
View File
@@ -3,6 +3,8 @@ import react from "@vitejs/plugin-react";
import { viteStaticCopy } from "vite-plugin-static-copy";
import tsconfigPaths from "vite-tsconfig-paths";
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
@@ -10,6 +12,20 @@ export default defineConfig({
port: 5741,
},
//build: {
// rollupOptions: {
// external: [
// /^node:.*/,
// ]
// }
//},
resolve: {
alias: {
"~": path.resolve(__dirname, "./src"),
//"@tests": path.resolve(__dirname, "./tests")
}
},
plugins: [
tsconfigPaths(),
react({