Fix engine.io-client webpack load dependency

This commit is contained in:
Yukai Huang 2016-10-12 12:27:23 +08:00
parent 4a6a69e7bc
commit 2e929879ad
2 changed files with 3 additions and 5 deletions

View File

@ -22,6 +22,7 @@
"diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git", "diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git",
"ejs": "^2.5.2", "ejs": "^2.5.2",
"emojify.js": "^1.1.0", "emojify.js": "^1.1.0",
"engine.io-client": "^1.7.0",
"express": ">=4.14", "express": ">=4.14",
"express-session": "^1.14.1", "express-session": "^1.14.1",
"file-saver": "^1.3.3", "file-saver": "^1.3.3",
@ -81,12 +82,12 @@
"randomcolor": "^0.4.4", "randomcolor": "^0.4.4",
"raphael": "github:dmitrybaranovskiy/raphael", "raphael": "github:dmitrybaranovskiy/raphael",
"request": "^2.75.0", "request": "^2.75.0",
"reveal.js": "3.3.0", "reveal.js": "^3.3.0",
"sequelize": "^3.24.3", "sequelize": "^3.24.3",
"sequelize-cli": "^2.4.0", "sequelize-cli": "^2.4.0",
"shortid": "2.2.6", "shortid": "2.2.6",
"socket.io": "1.5.0", "socket.io": "1.5.0",
"socket.io-client": "^1.4.8", "socket.io-client": "^1.5.0",
"sqlite3": "^3.1.6", "sqlite3": "^3.1.6",
"store": "^1.3.20", "store": "^1.3.20",
"string": "^3.3.1", "string": "^3.3.1",

View File

@ -12,9 +12,6 @@ module.exports = {
io: "socket.io-client", io: "socket.io-client",
key: "keymaster" key: "keymaster"
}), }),
new webpack.DefinePlugin({
"require.specified": "require.resolve"
}),
new ExtractTextPlugin("[name].css"), new ExtractTextPlugin("[name].css"),
new webpack.optimize.CommonsChunkPlugin({ new webpack.optimize.CommonsChunkPlugin({
name: ["vendor", "public", "slide", "locale"], name: ["vendor", "public", "slide", "locale"],