feat: support suo5 v2 shell

This commit is contained in:
ReaJason
2025-12-10 02:09:13 +08:00
parent 9bfa58cbd4
commit c71a6c5a79
31 changed files with 11821 additions and 34 deletions
+5 -5
View File
@@ -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",
},
},
},
});