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

Transition all rx-player scripts to es6 style imports #1310

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

peaBerberian
Copy link
Collaborator

I realized that in #1309, I broke the demo bundling script and translated only some of our node.js scripts so they have es6-style imports instead of commonjs ones.

I fixed the issue and completely transitioned (with two exceptions for now:
eslint and jest configs, but we also could transition them I guess) to es6-style imports in our scripts to facilitate development (no need to switch the import style depending on if the JS runs server-side or client-side).

I also removed webpack's bundle analyzer as that dependency was never really used for now and wasn't used in a pertinent way. It can be useful but we would have to properly integrate it in that case. For now, it's just an unneeded supplementary dev dependency.

@peaBerberian peaBerberian added this to the 4.0.0-rc.1 milestone Nov 3, 2023
@peaBerberian peaBerberian added the Priority: 3 (Low) This issue or PR has a low priority. label Nov 3, 2023
@peaBerberian peaBerberian changed the base branch from misc/conditional-export to next-v4 November 6, 2023 11:27
I realized that in #1309, I broke the demo bundling script and
translated only some of our node.js scripts so they have es6-style
imports instead of commonjs ones.

I fixed the issue and completely transitioned (with two exceptions for now:
eslint and jest configs, but we also could transition them I guess) to
es6-style imports in our scripts to facilitate development (no
need to switch the import style depending on if the JS runs server-side or
client-side).
@peaBerberian peaBerberian merged commit 309e094 into next-v4 Nov 6, 2023
2 of 3 checks passed
@peaBerberian peaBerberian deleted the misc/scripts-to-es6 branch January 5, 2024 13:57
@peaBerberian peaBerberian restored the misc/scripts-to-es6 branch January 5, 2024 13:57
@peaBerberian peaBerberian deleted the misc/scripts-to-es6 branch February 7, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 3 (Low) This issue or PR has a low priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant