Skip to content

Commit 340dc19

Browse files
committed
Fix kriasoft#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
1 parent 37e8c06 commit 340dc19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"babel-core": "^4.7.16",
2828
"babel-eslint": "^2.0.2",
2929
"babel-loader": "^4.3.0",
30-
"browser-sync": "^2.5.2",
30+
"browser-sync": "^2.5.3",
3131
"css-loader": "^0.9.1",
3232
"del": "^1.1.1",
3333
"eslint": "^0.18.0",
@@ -53,7 +53,7 @@
5353
"gulp-uglify": "^1.1.0",
5454
"gulp-util": "^3.0.4",
5555
"jest-cli": "^0.4.0",
56-
"less": "^2.4.0",
56+
"less": "^2.5.0",
5757
"less-loader": "^2.2.0",
5858
"minimist": "^1.1.1",
5959
"protractor": "^2.0.0",

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var serverConfig = _.merge({}, config, {
123123
libraryTarget: 'commonjs2'
124124
},
125125
target: 'node',
126-
externals: /^[a-z\-0-9]+$/,
126+
externals: /^[a-z][a-z\.\-0-9]*$/,
127127
node: {
128128
console: false,
129129
global: false,

0 commit comments

Comments
 (0)