aboutsummaryrefslogtreecommitdiff
path: root/client/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/vite.config.js')
-rw-r--r--client/vite.config.js36
1 files changed, 32 insertions, 4 deletions
diff --git a/client/vite.config.js b/client/vite.config.js
index 5a33944..1f72faa 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -1,7 +1,35 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react'
+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()],
-})
+ 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",
+ ],
+ }),
+ ],
+});