summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYukai Huang2016-10-12 12:27:23 +0800
committerYukai Huang2016-10-12 12:57:16 +0800
commit2e929879adeb5194df6bba799d0c4e01b87c19cb (patch)
treedbd56106abe2b83f62b6dc50ec955e6e523d06db
parent4a6a69e7bc8f6e2897394f3a1285ff7626bceb16 (diff)
Fix engine.io-client webpack load dependency
-rw-r--r--package.json5
-rw-r--r--webpackBaseConfig.js3
2 files changed, 3 insertions, 5 deletions
diff --git a/package.json b/package.json
index 1b2cc8d7..e0dd95ba 100644
--- a/package.json
+++ b/package.json
@@ -22,6 +22,7 @@
"diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git",
"ejs": "^2.5.2",
"emojify.js": "^1.1.0",
+ "engine.io-client": "^1.7.0",
"express": ">=4.14",
"express-session": "^1.14.1",
"file-saver": "^1.3.3",
@@ -81,12 +82,12 @@
"randomcolor": "^0.4.4",
"raphael": "github:dmitrybaranovskiy/raphael",
"request": "^2.75.0",
- "reveal.js": "3.3.0",
+ "reveal.js": "^3.3.0",
"sequelize": "^3.24.3",
"sequelize-cli": "^2.4.0",
"shortid": "2.2.6",
"socket.io": "1.5.0",
- "socket.io-client": "^1.4.8",
+ "socket.io-client": "^1.5.0",
"sqlite3": "^3.1.6",
"store": "^1.3.20",
"string": "^3.3.1",
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js
index 01f8e39f..8f93baee 100644
--- a/webpackBaseConfig.js
+++ b/webpackBaseConfig.js
@@ -12,9 +12,6 @@ module.exports = {
io: "socket.io-client",
key: "keymaster"
}),
- new webpack.DefinePlugin({
- "require.specified": "require.resolve"
- }),
new ExtractTextPlugin("[name].css"),
new webpack.optimize.CommonsChunkPlugin({
name: ["vendor", "public", "slide", "locale"],