New Tasks

This commit is contained in:
Possible
2024-06-25 23:51:51 +01:00
parent ca57235999
commit 967aec7bd1
117 changed files with 9108 additions and 46 deletions
+21 -4
View File
@@ -1,7 +1,24 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const dirname = path.dirname(fileURLToPath(import.meta.url));
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()]
})
plugins: [react()],
resolve: {
alias: {
Components: path.resolve(dirname, "./src/components"),
Pages: path.resolve(dirname, "./src/pages"),
Utils: path.resolve(dirname, "./src/utils"),
Assets: path.resolve(dirname, "./src/assets"),
Context: path.resolve(dirname, "./src/context"),
Routes: path.resolve(dirname, "./src/routes"),
Hooks: path.resolve(dirname, "./src/hooks"),
Src: path.resolve(dirname, "./src"),
},
},
});