mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 03:21:23 +00:00
Merge branch 'main' of github.com:storytold/storyteller-board into main
This commit is contained in:
commit
baeecc59ea
1 file changed
+16
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user