minibin/client/vite.config.js
2024-04-30 11:10:37 +05:30

39 lines
661 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({
plugins: ["line-numbers"],
languages: [
"c",
"cpp",
"css",
"git",
"go",
"html",
"java",
"js",
"json",
"jsx",
"kotlin",
"lua",
"md",
"py",
"rust",
"sh",
"sql",
"ts",
"tsx",
"url",
"xml",
],
}),
],
build: {
outDir: "../server/dist",
},
});