Closed zation closed 7 years ago
Hi @zation!
The lodash-webpack-plugin
many disables feature sets by default so you have to opt-in to ones you want. Look at the currying
or metadata
feature set.
Thanks! Fix it with currying
option:
new LodashModuleReplacementPlugin({
currying: true,
paths: true,
}),
Please check this repo: https://github.com/zation/react-isomorphic-starter. Before I include babel-plugin-lodash and lodash-webpack-plugin, it works fine. After I include them, I get below error:
You can reproduce it by command
npm start
.I found
_createPartial.js
is bundled as_createWrap.js
. Do I mistake anything?