Skip to content

Commit

Permalink
Fix deep property path not working
Browse files Browse the repository at this point in the history
- Deactivate `paths` option in 'lodash-webpack-plugin'
  • Loading branch information
Lionel Bijaoui committed Oct 17, 2018
1 parent 8d245e7 commit fb02f26
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion build/webpack.build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,24 @@ module.exports = [
NODE_ENV: JSON.stringify("production")
}
}),
new LodashModuleReplacementPlugin(),
new LodashModuleReplacementPlugin({
shorthands: true,
cloning: true,
currying: true,
caching: true,
collections: true,
exotics: true,
guards: true,
metadata: true,
deburring: true,
unicode: true,
chaining: true,
memoizing: true,
coercions: true,
flattening: true,
paths: false,
placeholders: true
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
Expand Down

0 comments on commit fb02f26

Please sign in to comment.