minibin/client/vite.config.js

40 lines
661 B
JavaScript
Raw Normal View History

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: {
2024-03-03 14:32:40 +01:00
outDir: "../server/dist",
},
});