re-resizable
re-resizable copied to clipboard
es modules contains top level `this`
bundler bug
Overview of the problem
I'm using re-resizable version 6.9.0
I am sure this issue is not a duplicate? yes
Description
Compiled with tsc es modules contains top level this which does not exist in es module. Rollup for example warns about it's usage. TS users usually recommend switching transpilation to babel.
Steps to Reproduce
https://unpkg.com/browse/[email protected]/lib/index.js
https://codesandbox.io/s/ll587k677z
Expected behavior
No this
Actual behavior
this