commit 85c441594bda229fea6921af04eae7cf815fd400
parent 6b5ac581b975949e2eab45944477a27120b83565
Author: Vladimir Kutepov <frenzzy.man@gmail.com>
Date: Thu, 1 Sep 2016 19:20:56 +0400
Remove outdated reference to react-routing from webpack config (#829)
fixes #770
Diffstat:
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/tools/webpack.config.js b/tools/webpack.config.js
@@ -49,7 +49,6 @@ const config = {
test: /\.jsx?$/,
loader: 'babel-loader',
include: [
- path.resolve(__dirname, '../node_modules/react-routing/src'),
path.resolve(__dirname, '../src'),
],
query: {
@@ -274,13 +273,7 @@ const serverConfig = extend(true, {}, config, {
externals: [
/^\.\/assets$/,
- function filter(context, request, cb) {
- const isExternal =
- request.match(/^[@a-z][a-z\/\.\-0-9]*$/i) &&
- !request.match(/^react-routing/) &&
- !context.match(/[\\/]react-routing/);
- cb(null, Boolean(isExternal));
- },
+ /^[@a-z][a-z\/\.\-0-9]*$/i,
],
plugins: [