minibin/client/vite.config.js
rohan09-raj 7ef0354687 feat: Implement frontend UI for minibin
- Use prism.js for syntax highlighting
- USe react-router-dom for routing
2024-02-21 23:52:45 +05:30

35 lines
582 B
JavaScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import prismjs from "vite-plugin-prismjs";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
prismjs({
languages: [
"c",
"cpp",
"css",
"git",
"go",
"html",
"java",
"js",
"json",
"jsx",
"kotlin",
"lua",
"md",
"py",
"rust",
"sh",
"sql",
"ts",
"tsx",
"url",
"xml",
],
}),
],
});