mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-18 13:40:22 +02:00
current and cache history
This commit is contained in:
@@ -2,14 +2,28 @@ import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
||||
|
||||
import path from "path";
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
// TODO figure out why vs code complains about this even though it works
|
||||
"@stores": path.resolve(__dirname, "./src/stores"),
|
||||
// TODO - add more aliases
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
plugins: [
|
||||
react(),
|
||||
vanillaExtractPlugin({
|
||||
// configuration
|
||||
}),
|
||||
],
|
||||
|
||||
|
||||
server: {
|
||||
port: 9001,
|
||||
},
|
||||
|
Reference in New Issue
Block a user