mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
feat: support suo5 v2 shell
This commit is contained in:
+5
-5
@@ -8,7 +8,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import * as MdxConfig from "./source.config";
|
||||
|
||||
export default defineConfig({
|
||||
base: env.NODE_ENV === "development" ? '/' : `${env.VITE_APP_API_URL}/`,
|
||||
base: env.NODE_ENV === "development" ? "/" : `${env.VITE_APP_API_URL}/`,
|
||||
plugins: [
|
||||
mdx(MdxConfig),
|
||||
tailwindcss(),
|
||||
@@ -19,11 +19,11 @@ export default defineConfig({
|
||||
}),
|
||||
],
|
||||
resolve:
|
||||
process.env.NODE_ENV === 'development'
|
||||
process.env.NODE_ENV === "development"
|
||||
? {}
|
||||
: {
|
||||
alias: {
|
||||
'react-dom/server': 'react-dom/server.node',
|
||||
alias: {
|
||||
"react-dom/server": "react-dom/server.node",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user