minibin/client/vite.config.js

38 lines
626 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",
],
}),
],
build: {
outDir: '../server/dist'
}
});