Replies: 1 comment 5 replies
-
|
It looks like you didn't install |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I'm using only a few specific modules from lodash-es — debounce, merge, cloneDeep etc.. in my code like so:
import { debounce, cloneDeep } from "lodash-es";Then I have to exclude it in
optimizeDepsfor the dev server to work otherwise I get:And If I do exclude it, then the dev works but prod build fails:
And ... if I add the same
optimizeDep.excludearray torollupOptions.externalsas per the suggestion then the build passes BUT there's an issue with chunks if I setmanifest: true(required for backend integration).So I'm in a pickle here, not sure how to move forward.
Appreciate any help! Thanks.
Beta Was this translation helpful? Give feedback.
All reactions