Skip to content

Commit fb02f26

Browse files
author
Lionel Bijaoui
committed
Fix deep property path not working
- Deactivate `paths` option in 'lodash-webpack-plugin'
1 parent 8d245e7 commit fb02f26

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

build/webpack.build.config.js

+18-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,24 @@ module.exports = [
7373
NODE_ENV: JSON.stringify("production")
7474
}
7575
}),
76-
new LodashModuleReplacementPlugin(),
76+
new LodashModuleReplacementPlugin({
77+
shorthands: true,
78+
cloning: true,
79+
currying: true,
80+
caching: true,
81+
collections: true,
82+
exotics: true,
83+
guards: true,
84+
metadata: true,
85+
deburring: true,
86+
unicode: true,
87+
chaining: true,
88+
memoizing: true,
89+
coercions: true,
90+
flattening: true,
91+
paths: false,
92+
placeholders: true
93+
}),
7794
new webpack.optimize.UglifyJsPlugin({
7895
compress: {
7996
warnings: false

0 commit comments

Comments
 (0)