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,4 +1,4 @@
const isString = require('lodash/isString');
const { isString } = require('lodash');
exports.createTemplate = (options, messages) => {