mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 17:34:39 +01:00
Add building for handbook
also implement linting, ci for handbook, and change `.editorconfig` to do 2-line for .yml
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import viteSvgr from "vite-plugin-svgr";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
import viteSvgr from "vite-plugin-svgr";
|
||||
import { viteSingleFile } from "vite-plugin-singlefile";
|
||||
|
||||
import postcss from "./cfg/postcss.config.js";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [ react(), tsconfigPaths(), viteSvgr() ],
|
||||
plugins: [ react(), tsconfigPaths(), viteSvgr(), viteSingleFile() ],
|
||||
css: { postcss }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user