Skip to content

Commit

Permalink
add option to LodashModuleReplacementPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Aug 30, 2016
1 parent 5864299 commit b4c8d19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/package.json
Expand Up @@ -68,7 +68,7 @@
"babel-core": "6.14.0",
"babel-eslint": "6.1.2",
"babel-loader": "6.2.5",
"babel-plugin-lodash": "3.2.0",
"babel-plugin-lodash": "3.2.8",
"babel-plugin-react-transform": "2.0.2",
"babel-plugin-transform-react-constant-elements": "6.9.1",
"babel-plugin-transform-react-remove-prop-types": "0.2.9",
Expand Down Expand Up @@ -116,8 +116,8 @@
"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "1.8.0",
"lodash-webpack-plugin": "0.10.0",
"mocha": "3.0.2",
"lodash-webpack-plugin": "0.9.2",
"nightwatch": "0.9.8",
"open-browser-webpack-plugin": "0.0.2",
"phantomjs-prebuilt": "2.1.12",
Expand Down
5 changes: 4 additions & 1 deletion client/webpack.config.js
Expand Up @@ -77,7 +77,10 @@ module.exports = function ( options ) {
{ from: './assets/img/*.svg' },
{ from: './locales/**/*.json' }
]),
new LodashModuleReplacementPlugin,
new LodashModuleReplacementPlugin({
collections: true,
paths: true
}),
new webpack.optimize.CommonsChunkPlugin({names: ['vendor']})
],
resolve: {
Expand Down

0 comments on commit b4c8d19

Please sign in to comment.