speice.io/vite.config.ts

15 lines
286 B
TypeScript
Raw Normal View History

2023-04-15 12:56:22 -04:00
import { defineConfig } from "vite";
import blog from "@bspeice/vite-plugin-blog";
import mdx from "@mdx-js/rollup";
import react from "@vitejs/plugin-react-swc";
2023-04-15 12:55:22 -04:00
export default defineConfig({
plugins: [
blog({
2023-04-15 12:56:22 -04:00
"/": "/pages/index",
2023-04-15 12:55:22 -04:00
}),
mdx(),
2023-04-15 12:56:22 -04:00
react(),
2023-04-15 12:55:22 -04:00
],
2023-04-15 12:56:22 -04:00
});