Destructure Lodash require
s
This commit is contained in:
parent
b7b6195cfc
commit
d9be6a0f94
13 changed files with 46 additions and 37 deletions
|
@ -4,7 +4,7 @@
|
|||
// and using promises. Revisit use of `idb` dependency as it might cover
|
||||
// this functionality.
|
||||
|
||||
const isObject = require('lodash/isObject');
|
||||
const { isObject } = require('lodash');
|
||||
|
||||
|
||||
exports.open = (name, version) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue