Skip to content

Commit

Permalink
fix(package): remove duplicate lodash.omit dependency
Browse files Browse the repository at this point in the history
`lodash` already being present in nuxt
  • Loading branch information
medfreeman committed Sep 9, 2017
1 parent 229a257 commit d5e1017
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 217 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
],
"dependencies": {
"js-yaml": "^3.9.1",
"lodash.omit": "^4.5.0",
"needlepoint": "^1.0.5",
"style-loader": "^0.18.2"
},
Expand Down
6 changes: 4 additions & 2 deletions src/configManager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { join, relative } from "path";

import omit from "lodash.omit";
/* eslint-disable import/no-extraneous-dependencies */
/* covered by nuxt */
import _ from "lodash";

import CmsConfigFile from "./utils/cms.config.file";

Expand Down Expand Up @@ -31,7 +33,7 @@ class ConfigManager {
...moduleOptions
};

const options = omit(
const options = _.omit(
{
...DEFAULTS,
...this._userOptions
Expand Down
Loading

0 comments on commit d5e1017

Please sign in to comment.