web3.news/vite.config.ts

26 lines
651 B
TypeScript
Raw Normal View History

2023-12-22 20:35:40 +00:00
import { unstable_vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import { installGlobals } from "@remix-run/node";
import tsconfigPaths from "vite-tsconfig-paths";
2023-12-27 15:18:07 +00:00
import Unfonts from "unplugin-fonts/vite";
2023-12-22 20:35:40 +00:00
installGlobals();
export default defineConfig({
2023-12-27 15:18:07 +00:00
plugins: [
remix({ ignoredRouteFiles: ["**/.*"] }),
tsconfigPaths(),
Unfonts({
fontsource: {
/**
* Fonts families lists
*/
families: [
{ name: "Be Vietnam Pro", weights: [400], subset: "latin" },
{ name: "Jaldi", weights: [400], subset: "latin" },
],
},
}),
],
2023-12-22 20:35:40 +00:00
});