diff --git a/docs/src/GettingStartedPage.js b/docs/src/GettingStartedPage.js index c75de5cb58..378c03b0bf 100644 --- a/docs/src/GettingStartedPage.js +++ b/docs/src/GettingStartedPage.js @@ -85,13 +85,14 @@ import { Button } from 'react-bootstrap';`

Browser globals

-

The Bower repo contains react-bootstrap.js and react-bootstrap.min.js with all components exported in the window.ReactBootstrap object.

+

We provide react-bootstrap.js and react-bootstrap.min.js bundles with all components exported on the window.ReactBootstrap object. These bundles are available on CDNJS, and in both the Bower and NPM packages.

- +` + + ` diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index b68925c2bc..747efe81bf 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -21,6 +21,14 @@ export default _.extend({}, baseConfig, { commonjs: 'react', amd: 'react' } + }, + { + 'react-dom': { + root: 'ReactDOM', + commonjs2: 'react-dom', + commonjs: 'react-dom', + amd: 'react-dom' + } } ] });