Add building for handbook

also implement linting, ci for handbook, and change `.editorconfig` to do 2-line for .yml
This commit is contained in:
KingRainbow44
2023-04-04 21:41:06 -04:00
parent a4c3f90388
commit 1d03100dcc
3 changed files with 84 additions and 3 deletions

View File

@@ -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 }
});