mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 08:14:08 +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: {
|
externals: {
|
||||||
'viz.js': 'Viz',
|
'viz.js': 'Viz',
|
||||||
'socket.io-client': 'io',
|
'socket.io-client': 'io',
|
||||||
'lodash': '_',
|
|
||||||
'jquery': '$',
|
'jquery': '$',
|
||||||
'moment': 'moment',
|
'moment': 'moment',
|
||||||
'handlebars': 'Handlebars',
|
'handlebars': 'Handlebars',
|
||||||
@ -408,7 +407,7 @@ module.exports = {
|
|||||||
loader: ExtractTextPlugin.extract('style-loader', 'less-loader')
|
loader: ExtractTextPlugin.extract('style-loader', 'less-loader')
|
||||||
}, {
|
}, {
|
||||||
test: require.resolve('js-sequence-diagrams'),
|
test: require.resolve('js-sequence-diagrams'),
|
||||||
loader: 'imports?Raphael=raphael'
|
loader: 'imports?_=lodash&Raphael=raphael'
|
||||||
}, {
|
}, {
|
||||||
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
|
||||||
loader: 'file'
|
loader: 'file'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user