Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es modules contains top level this #714

Open
TrySound opened this issue Nov 24, 2020 · 0 comments
Open

es modules contains top level this #714

TrySound opened this issue Nov 24, 2020 · 0 comments

Comments

@TrySound
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant