impossible to use any lodash version in production build
I'm trying to use lodash-es within a server/api route.
example:
It works within
npm run dev
,
but breaks within npm run build
& npm run preview
I'm getting the following error:
Already tried to use the lodash
or lodash.merge
packages instead. But same errors.1 Reply