chore: update deps

This commit is contained in:
GyDi
2022-07-05 00:52:22 +08:00
parent 3b460ab91f
commit 7aecd83c4a
4 changed files with 287 additions and 255 deletions

View File

@@ -6,7 +6,11 @@ import monaco from "vite-plugin-monaco-editor";
// https://vitejs.dev/config/
export default defineConfig({
root: "src",
plugins: [svgr(), react(), monaco()],
plugins: [
svgr(),
react(),
monaco({ languageWorkers: ["editorWorkerService", "typescript"] }),
],
build: {
outDir: "../dist",
emptyOutDir: true,