合并
This commit is contained in:
@@ -71,4 +71,9 @@ export default defineConfig({
|
||||
// 预构建这些依赖,避免首次加载时出现重新构建
|
||||
include: ['react-pdf', 'pdfjs-dist', 'dayjs', '@remix-run/node', 'react-dom', 'axios', 'dayjs/plugin/utc', '@remix-run/react', 'react-router-dom', 'jszip', 'ahooks', 'antd', 'immer', '@ant-design/icons', 'react-markdown', 'remark-math', 'remark-breaks', 'rehype-katex', 'remark-gfm'],
|
||||
},
|
||||
// SSR 配置 - 排除只能在客户端运行的包
|
||||
// ssr: {
|
||||
// noExternal: [],
|
||||
// external: ['@monaco-editor/react', 'monaco-editor']
|
||||
// },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user