mirror of https://github.com/status-im/codimd.git
Merge pull request #756 from davidmehren/master
Remove engine.io-client dependency
This commit is contained in:
commit
17d6fe716d
|
@ -34,7 +34,6 @@
|
|||
"diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git",
|
||||
"ejs": "^2.5.5",
|
||||
"emojify.js": "~1.1.0",
|
||||
"engine.io-client": "^1.8.2",
|
||||
"express": ">=4.14",
|
||||
"express-session": "^1.14.2",
|
||||
"file-saver": "^1.3.3",
|
||||
|
|
|
@ -355,10 +355,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
resolve: {
|
||||
modulesDirectories: [
|
||||
path.resolve(__dirname, 'src'),
|
||||
path.resolve(__dirname, 'node_modules')
|
||||
],
|
||||
modulesDirectories: ['node_modules'],
|
||||
extensions: ['', '.js'],
|
||||
alias: {
|
||||
codemirror: path.join(__dirname, 'node_modules/codemirror/codemirror.min.js'),
|
||||
|
@ -374,7 +371,8 @@ module.exports = {
|
|||
'bootstrap-tooltip': path.join(__dirname, 'public/vendor/bootstrap/tooltip.min.js'),
|
||||
'headjs': path.join(__dirname, 'node_modules/reveal.js/lib/js/head.min.js'),
|
||||
'reveal-markdown': path.join(__dirname, 'public/js/reveal-markdown.js'),
|
||||
abcjs: path.join(__dirname, 'public/vendor/abcjs_basic_3.1.1-min.js')
|
||||
abcjs: path.join(__dirname, 'public/vendor/abcjs_basic_3.1.1-min.js'),
|
||||
raphael: path.join(__dirname, 'node_modules/raphael/raphael.no-deps.js')
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -407,7 +405,7 @@ module.exports = {
|
|||
loader: ExtractTextPlugin.extract('style-loader', 'less-loader')
|
||||
}, {
|
||||
test: require.resolve('js-sequence-diagrams'),
|
||||
loader: 'imports?_=lodash&Raphael=raphael'
|
||||
loader: 'imports?_=lodash&Raphael=raphael&eve=eve'
|
||||
}, {
|
||||
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
||||
loader: 'file'
|
||||
|
|
Loading…
Reference in New Issue