You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am here following up on an issue where I am migrating a CRA codebase to VITE.
It seems that there is an issue with rollup and the Resize Observer polyfill used. TypeError: ResizeObserver constructor: 'new' is required
This has been reported in other libraries that use the polyfill and the answer has normally been to remove the polyfill.
Currently ResizeObserver API reaches 94.18% of the browsers.
No code changes needed other than removing the polyfill import
Happy to create a PR if you would like to move this forward
The text was updated successfully, but these errors were encountered:
Hi,
I am here following up on an issue where I am migrating a CRA codebase to VITE.
It seems that there is an issue with rollup and the Resize Observer polyfill used.
TypeError: ResizeObserver constructor: 'new' is required
This has been reported in other libraries that use the polyfill and the answer has normally been to remove the polyfill.
Currently ResizeObserver API reaches 94.18% of the browsers.
No code changes needed other than removing the polyfill import
Happy to create a PR if you would like to move this forward
The text was updated successfully, but these errors were encountered: