The solution is to whitelist lodash-es
, as David suggested in the comments to the original question. To be specific, now webpack.server.config.js looks like this:
... externals: [ nodeExternals({ whitelist: [/^lodash-es/] }) ],...
The solution is to whitelist lodash-es
, as David suggested in the comments to the original question. To be specific, now webpack.server.config.js looks like this:
... externals: [ nodeExternals({ whitelist: [/^lodash-es/] }) ],...