fix: 优化打包/更改浏览器兼容策略

This commit is contained in:
landaiqing
2024-05-06 00:37:18 +08:00
parent 39e6d44636
commit 564ff40406
4 changed files with 65 additions and 10 deletions

View File

@@ -6,7 +6,8 @@ import routeConfig from './router'
import 'virtual:svg-icons-register'
import { Provider as MobxProvider } from 'mobx-react'
import { RootStore } from '@/store'
import 'vite/modulepreload-polyfill'
import 'core-js/stable'
import 'regenerator-runtime/runtime'
const router = createBrowserRouter(routeConfig)
ReactDOM.createRoot(document.getElementById('root')!).render(
// <React.StrictMode>