Skip to content

Fix webpack config #225

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

Merged
merged 1 commit into from
Sep 1, 2017
Merged

Fix webpack config #225

merged 1 commit into from
Sep 1, 2017

Conversation

jochenberger
Copy link
Contributor

In #201, the switch to react-router-dom was made but the webpack config was not updated. Therefore, the current UMD bundles include react-router-dom and depend on react-router.

In react-bootstrap#201, the switch to `react-router-dom` was made but the webpack config was not updated. Therefore, the current UMD bundles include `react-router-dom` and depend on `react-router`.
@jochenberger
Copy link
Contributor Author

Before:

ReactRouterBootstrap.js : 187469 bytes
ReactRouterBootstrap.min.js: 65910 bytes

After:

ReactRouterBootstrap.js: 40025 Bytes
ReactRouterBootstrap.min.js: 6459 Bytes

@jochenberger
Copy link
Contributor Author

Btw, it might be a good idea to add prop-types to the externals, but that would be an incompatible change, so if you want to do it, you'll probably want to postpone it for the next minor release. I can create a PR if you like.

Copy link
Member

@v12 v12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for changing that, I completely forgot to check Webpack configuration when switched to react-router-dom

@taion taion merged commit ac74972 into react-bootstrap:master Sep 1, 2017
@taion
Copy link
Member

taion commented Sep 1, 2017

Released as v0.24.3. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants