Importing lodash causes error
Importing like
import {groupBy} from 'loadash' causes error in build
going with import groupBy from 'lodash/groupBy' works
2 Replies
other-emerald•10mo ago
Hi, what is the error message? btw, have you tried to import
import { groupBy } from "lodash-es"
instead?xenial-blackOP•10mo ago
Yeah that seems to be working. Thank you