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

refactor: change build to target ES6 #645

Merged

Conversation

LukasTy
Copy link
Contributor

@LukasTy LukasTy commented Mar 20, 2023

Fixes #248

As discussed in the issue, tslib (Class extending) usage in transpiled code is redundant nowadays as all the major browsers do support ES6, which has native classes support.
The concern with the opera mini in the MUI context is somewhat irrelevant as it was discussed and uncovered that it's basically an error on the MUI side and should be removed as babel ignores it anyways.

P.S.: Do note that technically this should be a major bump to signal users, that the new release requires an environment supporting at least ES6.

@dmtrKovalenko dmtrKovalenko merged commit bdc3d87 into dmtrKovalenko:master Jul 23, 2023
@LukasTy LukasTy deleted the remove-reliance-on-tslib branch July 28, 2023 04:38
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

Successfully merging this pull request may close these issues.

Missing tslib dependency?
2 participants