Skip to content

Commit

Permalink
feat: 修改vitep配置
Browse files Browse the repository at this point in the history
  • Loading branch information
niyg-mw committed Nov 13, 2023
1 parent 6458f37 commit 3d5229e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ import react from "@vitejs/plugin-react-swc";
export default defineConfig({
base: "/mui-pad-hmi/",
plugins: [react()],
optimizeDeps: {
include: ["react/jsx-runtime"],
},
});

0 comments on commit 3d5229e

Please sign in to comment.