re-resizable icon indicating copy to clipboard operation
re-resizable copied to clipboard

es modules contains top level `this`

Open TrySound opened this issue 4 years ago • 0 comments

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

TrySound avatar Nov 24 '20 15:11 TrySound