From 340dc190af0487c1fc0e6bbd7c8e9eaa92c2f772 Mon Sep 17 00:00:00 2001 From: Konstantin Tarkus Date: Mon, 6 Apr 2015 22:38:18 +0300 Subject: [PATCH] Fix #83: Externals setting for server-side bundle in webpack.config.js ...also update browser-sync 2.5.2 > 2.5.3 and less 2.4.0 > 2.5.0 --- package.json | 4 ++-- webpack.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e55a92e5c..16ca17fad 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "babel-core": "^4.7.16", "babel-eslint": "^2.0.2", "babel-loader": "^4.3.0", - "browser-sync": "^2.5.2", + "browser-sync": "^2.5.3", "css-loader": "^0.9.1", "del": "^1.1.1", "eslint": "^0.18.0", @@ -53,7 +53,7 @@ "gulp-uglify": "^1.1.0", "gulp-util": "^3.0.4", "jest-cli": "^0.4.0", - "less": "^2.4.0", + "less": "^2.5.0", "less-loader": "^2.2.0", "minimist": "^1.1.1", "protractor": "^2.0.0", diff --git a/webpack.config.js b/webpack.config.js index 31de9f199..fb2eaa3ab 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -123,7 +123,7 @@ var serverConfig = _.merge({}, config, { libraryTarget: 'commonjs2' }, target: 'node', - externals: /^[a-z\-0-9]+$/, + externals: /^[a-z][a-z\.\-0-9]*$/, node: { console: false, global: false,