Skip to content
Verified Commit 28891ac3 authored by Lukas Eipert's avatar Lukas Eipert
Browse files

perf: Consume lodash via babel-plugin-lodash

If someone imports lodash like this:

```js
import { first, last } from 'lodash';
```

It will lead to a complete inclusion of `lodash` in GitLab.

By simply utilizing `babel-plugin-lodash` we can ensure it is rewritten
as:

```js
import first from 'lodash/first';
import last from 'lodash/last';
```

which is tree-shakeable
parent 7f184812
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment