Skip to content

Commit

Permalink
Revert "Require pick method from lodash"
Browse files Browse the repository at this point in the history
This reverts commit d274236.
  • Loading branch information
danez committed Oct 10, 2016
1 parent 9030ddf commit 99a7a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tasks/webpack-dev-server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var path = require("path");
var mergeWith = require("lodash/mergeWith");
var pick = require("lodash/pick");

module.exports = function(grunt) {
var getWithPlugins = require("../src/getWithPlugins")(grunt);
Expand Down Expand Up @@ -70,7 +69,7 @@ module.exports = function(grunt) {
});
}

var compiler = webpack(pick(options.webpack, validWebpackOptions));
var compiler = webpack(_.pick(options.webpack, validWebpackOptions));

if(options.progress) {
var chars = 0;
Expand Down
3 changes: 1 addition & 2 deletions tasks/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var mergeWith = require("lodash/mergeWith");
var map = require("lodash/map");
var isString = require("lodash/isString");
var isArray = require("lodash/isArray");
var pick = require("lodash/pick");

module.exports = function(grunt) {
var getWithPlugins = require("../src/getWithPlugins")(grunt);
Expand Down Expand Up @@ -86,7 +85,7 @@ module.exports = function(grunt) {
var statsOptions = firstOptions.stats;
var failOnError = firstOptions.failOnError;
var progress = firstOptions.progress;
var compiler = webpack(pick(options, validWebpackOptions));
var compiler = webpack(_.pick(options, validWebpackOptions));

if(cache) {
var theCachePlugin = targetCachePlugins[target];
Expand Down

0 comments on commit 99a7a12

Please sign in to comment.