mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 23:14:24 +00:00
Fix lodash will be ignored by webpack in pack bundle
This commit is contained in:
parent
ca71028dd7
commit
f715e8e5a3
@ -381,7 +381,6 @@ module.exports = {
|
||||
externals: {
|
||||
'viz.js': 'Viz',
|
||||
'socket.io-client': 'io',
|
||||
'lodash': '_',
|
||||
'jquery': '$',
|
||||
'moment': 'moment',
|
||||
'handlebars': 'Handlebars',
|
||||
@ -408,7 +407,7 @@ module.exports = {
|
||||
loader: ExtractTextPlugin.extract('style-loader', 'less-loader')
|
||||
}, {
|
||||
test: require.resolve('js-sequence-diagrams'),
|
||||
loader: 'imports?Raphael=raphael'
|
||||
loader: 'imports?_=lodash&Raphael=raphael'
|
||||
}, {
|
||||
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
||||
loader: 'file'
|
||||
|
Loading…
x
Reference in New Issue
Block a user