-
-
Notifications
You must be signed in to change notification settings - Fork 528
[BUG] Getting 'TypeError: b is not a function' for production build #933
Description
Describe the bug
My tooltip is working just fine when running locally with my NextJS dev server. However my production build throws the following error:
Uncaught (in promise) TypeError: b is not a function
at _ (747-e70f1fec8bbda825.js:1:2290)
at Object.isRTL (747-e70f1fec8bbda825.js:1:7593)
at 747-e70f1fec8bbda825.js:1:7765
at $ (747-e70f1fec8bbda825.js:1:9305)
at et (747-e70f1fec8bbda825.js:12:4104)
at 747-e70f1fec8bbda825.js:12:8615
at uU (framework-3b5a00d5d7e8d93b.js:9:84130)
at oV (framework-3b5a00d5d7e8d93b.js:9:113201)
at o (framework-3b5a00d5d7e8d93b.js:9:107748)
at x (framework-3b5a00d5d7e8d93b.js:33:1374)
When I remove the Tooltip element the error goes away. I attempted to get more information by turning off minification in my NextJS build, and that actually caused the error to go away entirely.
Version of Package
v5.7.3 (also tested with 5.7.2 and 5.6.0)
To Reproduce
Run a production build with minification (not sure if there is something specific to NextJS)
Expected behavior
No Errors, and the tooltip renders on the browser