-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Possible to have multiple entry points? #1079
Comments
Sorry, but Create React App doesn't support this use case. |
how to make multiple entry points with |
If you eject, please follow Webpack's documentation on entry points. |
@gaearon const config = {
entry: {
index: './src/index.js',
detail: './src/detail.js'
}
}; this code will generate two entry points: |
I don’t really know either, sorry 😅 |
@gaearon Thank you all the same. |
Actually, you need to config webpack entry/htmlWebpackPlugin/webpack dev server, here is a best practice:http://imshuai.com/create-react-app-multiple-entry-points/ |
My app has 2 entry points. Is there a way to make it?
The text was updated successfully, but these errors were encountered: