diff --git a/package.json b/package.json index 8e768e5a0b..931633e550 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "docs-prod": "webpack --config webpack.docs.js -p --progress && NODE_ENV=production ./run-babel docs/server.js", "ie8": "./run-babel ie8/server.js" }, - "main": "lib/main.js", + "main": "lib/index.js", "directories": { "lib": "lib/" }, @@ -81,4 +81,4 @@ "dependencies": { "classnames": "^1.1.4" } -} \ No newline at end of file +} diff --git a/webpack/webpack.config.js b/webpack/webpack.config.js index 6ca9f934cf..a95e313c4d 100644 --- a/webpack/webpack.config.js +++ b/webpack/webpack.config.js @@ -21,7 +21,7 @@ export default (options) => { const config = { entry: { - 'react-bootstrap': './src/main.js' + 'react-bootstrap': './src/index.js' }, output: {