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", }, }, }; }, }; }