Closed louwers closed 1 year ago
running into Error in 'codeFile/Auth.tsx': SyntaxError: The requested module 'https://ga.jspm.io/npm:lodash@4.17.21/lodash.js' does not provide an export named 'merge'
when trying to directly import the library via ESM modules
Specifically on Framer via https://www.framer.com/npm/
Chore
Describe the chore
lodash
is not tree-shakable. So about 69.9kB of your 127.7kB (minimized) bundle size is used for this single import:Instead you should import
this is 'just' 9.8 kB.