- Updated Vite configuration to ensure a single React instance and prevent context issues by adding 'react/jsx-runtime' to deduplication. - Improved manual chunking strategy to keep React core together and optimize Ant Design component loading. - Adjusted build settings for better source map handling and chunk size warnings. - Centralized Ant Design imports in `antd-imports.ts` to ensure React is available for all components. - Removed exclusions for Ant Design to enhance compatibility and performance.
6.8 KiB
6.8 KiB