Skip to content

Commit

Permalink
Get rid of webpack warning with npm run docs
Browse files Browse the repository at this point in the history
```sh
WARNING in ./~/babel-core/browser.js
This seems to be a pre-built javascript file.
```
  • Loading branch information
AlexKVal committed May 7, 2015
1 parent 326fc99 commit f1e84bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if (development) {

webpackConfig.output.path = '/';
webpackConfig.output.publicPath = undefined;
webpackConfig.module.noParse = /babel-core\/browser/;

app = app
.use(webpackMiddleware(webpack(webpackConfig), {
Expand Down

0 comments on commit f1e84bc

Please sign in to comment.