mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
feat: support dubbo service memshell
This commit is contained in:
+2
-10
@@ -5,22 +5,14 @@ import tailwindcss from "@tailwindcss/vite";
|
||||
import mdx from "fumadocs-mdx/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import devtoolsJson from "vite-plugin-devtools-json";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import * as MdxConfig from "./source.config";
|
||||
|
||||
const isDev = env.NODE_ENV === "development";
|
||||
export default defineConfig({
|
||||
base: isDev ? "/" : `${env.VITE_APP_API_URL}/`,
|
||||
plugins: [
|
||||
mdx(MdxConfig),
|
||||
tailwindcss(),
|
||||
reactRouter(),
|
||||
devtoolsJson(),
|
||||
tsconfigPaths({
|
||||
root: __dirname,
|
||||
}),
|
||||
],
|
||||
plugins: [mdx(MdxConfig), tailwindcss(), reactRouter(), devtoolsJson()],
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./app"),
|
||||
...(!isDev
|
||||
|
||||
Reference in New Issue
Block a user