Skip to content

Commit af4c0a0

Browse files
committed
Merge pull request react-bootstrap#622 from AlexKVal/webpackWarning
Get rid of webpack warning with `npm run docs`
2 parents cb42573 + f1e84bc commit af4c0a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ if (development) {
1919

2020
webpackConfig.output.path = '/';
2121
webpackConfig.output.publicPath = undefined;
22+
webpackConfig.module.noParse = /babel-core\/browser/;
2223

2324
app = app
2425
.use(webpackMiddleware(webpack(webpackConfig), {

0 commit comments

Comments
 (0)