vite-bugs/skeleton/vite.config.ts

23 lines
462 B
TypeScript
Raw Normal View History

2024-03-16 22:48:55 +00:00
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",
},
},
};
},
};
}