mirror of
https://github.com/Xevion/vastly.git
synced 2025-12-10 22:09:04 -06:00
Cleanup aliases, remove example code, tailwind
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
import {defineConfig} from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
const rootPath = new URL(".", import.meta.url).pathname.substring(1);
|
||||
console.log({ rootPath, url: import.meta.url });
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()]
|
||||
})
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": rootPath + "src",
|
||||
"@wails": rootPath + "wailsjs",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user