Destructure Lodash requires

This commit is contained in:
Daniel Gasienica 2018-04-02 15:08:53 -04:00
parent b7b6195cfc
commit d9be6a0f94
13 changed files with 46 additions and 37 deletions

View file

@ -1,5 +1,4 @@
const isObject = require('lodash/isObject');
const isString = require('lodash/isString');
const { isObject, isString } = require('lodash');
const ITEMS_STORE_NAME = 'items';