mirror of
https://github.com/muerwre/markdown-home-tab.git
synced 2025-04-25 00:46:41 +07:00
12 lines
350 B
TypeScript
12 lines
350 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react-swc";
|
|
import * as path from "path";
|
|
import svgr from "vite-plugin-svgr";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), svgr({ exportAsDefault: true })],
|
|
resolve: {
|
|
alias: [{ find: "~", replacement: path.resolve("src") }],
|
|
},
|
|
});
|