Skip to content

Commit

Permalink
vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshschuler committed May 25, 2023
1 parent b1b269e commit a384dd5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import vue from "@vitejs/plugin-vue";
import { resolve } from "path";
import { fileURLToPath, URL } from "url";
import { defineConfig } from "vite";
import WindiCSS from "vite-plugin-windicss";

Expand All @@ -16,11 +16,7 @@ export default defineConfig({
},
},
resolve: {
alias: {
"~/": `${resolve(__dirname, "src")}/`,
"@": resolve("src"),
"@components": resolve("src/@components"),
},
alias: [{ find: "@", replacement: fileURLToPath(new URL("./src", import.meta.url)) }],
},
plugins: [WindiCSS(), vue()],
});

0 comments on commit a384dd5

Please sign in to comment.