Update ForeignKey reference in PublishingRecord model and enhance integration app configuration
- Changed ForeignKey reference from 'content.Content' to 'writer.Content' in PublishingRecord model to ensure correct app_label usage. - Updated IntegrationConfig to use a unique label 'integration_module' to avoid conflicts. - Added 'lucide-react' dependency to package.json and package-lock.json for improved icon support in the frontend. - Enhanced Vite configuration to optimize dependency pre-bundling for core React dependencies. - Added Phase 5 Migration Final Verification and Verification Report documents for comprehensive migration tracking.
This commit is contained in:
@@ -109,10 +109,15 @@ export default defineConfig(({ mode, command }) => {
|
||||
// Optimize dependency pre-bundling
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
// Core React dependencies - prevent multiple instances
|
||||
"react",
|
||||
"react-dom",
|
||||
"react/jsx-runtime",
|
||||
// Only pre-bundle frequently used, small dependencies
|
||||
"clsx",
|
||||
"tailwind-merge",
|
||||
"zustand",
|
||||
"zustand/middleware", // Required for persist middleware used in stores
|
||||
// Include apexcharts for proper module resolution (skip during marketing-only build)
|
||||
...(isMarketingBuild ? [] : ["apexcharts", "react-apexcharts"]),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user