Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Splitting Issue #15

Open
joshdeng opened this issue Apr 14, 2022 · 1 comment
Open

Code Splitting Issue #15

joshdeng opened this issue Apr 14, 2022 · 1 comment

Comments

@joshdeng
Copy link

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants