mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 09:54:59 +01:00
Implement loading dumped data for the handbook
This commit is contained in:
@@ -5,6 +5,7 @@ import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
import dsv from "@rollup/plugin-dsv";
|
||||
import viteSvgr from "vite-plugin-svgr";
|
||||
import { viteSingleFile } from "vite-plugin-singlefile";
|
||||
|
||||
@@ -12,6 +13,7 @@ import postcss from "./cfg/postcss.config.js";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [ react(), tsconfigPaths(), viteSvgr(), viteSingleFile() ],
|
||||
plugins: [ react(), tsconfigPaths(), dsv(),
|
||||
viteSvgr(), viteSingleFile() ],
|
||||
css: { postcss }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user