CHANGE lodash imports to lodash/*

This commit is contained in:
Norbert de Langen 2020-02-17 12:31:37 +01:00
parent b89d34eaa9
commit 107df6cabf
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -3,7 +3,9 @@ import { execSync } from 'child_process';
execSync('npm install lodash');
const { flatten, intersection, isEmpty } = require('lodash');
const flatten = require('lodash/flatten');
const intersection = require('lodash/intersection');
const isEmpty = require('lodash/isEmpty');
const pkg = require('../../package.json'); // eslint-disable-line import/newline-after-import
const prLogConfig = pkg['pr-log'];