666
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import monacoEditorPluginRaw from "vite-plugin-monaco-editor";
|
||||
|
||||
const monacoEditorPlugin =
|
||||
typeof monacoEditorPluginRaw === "function"
|
||||
? monacoEditorPluginRaw
|
||||
: monacoEditorPluginRaw.default;
|
||||
|
||||
const host = process.env.TAURI_DEV_HOST;
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue(), tailwindcss()],
|
||||
plugins: [monacoEditorPlugin({}), vue(), tailwindcss()],
|
||||
clearScreen: false,
|
||||
server: {
|
||||
port: 1420,
|
||||
|
||||
Reference in New Issue
Block a user