hasanayan / craco-plugin-single-spa-application

Convert your CRA4 project into a single-spa application without ejecting and losing update support of react-scripts
MIT License
33 stars 17 forks source link

Code Splitting Issue #15

Open joshdeng opened 2 years ago

joshdeng commented 2 years ago

Hi! I am trying to convert a React app created by create-react-app to work inside a single spa container app. We are using craco with the craco-plugin-single-spa-application to get it migrated to a single-spa app. The react-router seems to be working but it's failing to load the chunks. Then I looked into the plugin, it should override the webpack config and disable the code splitting. Wonder if you guys have any ideas why? image image

felipeplets commented 2 years ago

@joshdeng I don't know why, but would you be able to provide a repo reproducing the issue for easier inspection?