vite-bugs/skeleton/vite.config.ts
2024-03-16 23:48:55 +01:00

23 lines
462 B
TypeScript

import { vitePlugin as remix } from "@remix-run/dev";
import { Plugin, defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
plugins: [remix(), tsconfigPaths(), duogeeksPlugin()],
});
function duogeeksPlugin(): Plugin {
return {
name: "vite-plugin-duogeeks",
config() {
return {
resolve: {
alias: {
"~": "/app",
},
},
};
},
};
}