From f1e84bcd91351220e92685847c9985f0b66e5e03 Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Thu, 7 May 2015 11:34:38 +0300 Subject: [PATCH] Get rid of webpack warning with `npm run docs` ```sh WARNING in ./~/babel-core/browser.js This seems to be a pre-built javascript file. ``` --- docs/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/server.js b/docs/server.js index 8953f6c09c..1c19d26628 100644 --- a/docs/server.js +++ b/docs/server.js @@ -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), {