2024-02-19 16:20:51 +01:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
import prismjs from "vite-plugin-prismjs";
|
2024-02-19 16:20:40 +01:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2024-02-19 16:20:51 +01:00
|
|
|
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",
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
});
|