-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(umd): UMD now mirrors export schema for ESM and CJS #3426
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider the filename change. the rest looks good
.make-packages.js
Outdated
addLicenseTextToFile(license, UMD_PKG + 'Rx.min.js'); | ||
addLicenseToFile('LICENSE.txt', UMD_PKG + 'Rx.js'); | ||
addLicenseTextToFile(license, UMD_PKG + 'Rx.min.js'); | ||
addLicenseToFile('LICENSE.txt', UMD_PKG + 'rx.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest that all these files are called rxjs.*
, i.e. rxjs.umd.js
and rxjs.umd.min.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just to be consistent about the naming across all the namespaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol danger for size comparison broken by uppercase to lowercase file name conversion. looks ok otherwise.
f9343c3
to
ad4a8b5
Compare
@kwonoj I"m just going to disable that part of the script for now. |
For example, if you want to do the same thing as but using the global file, you would use , If you wanted to do , that will be available at . Thus making the import/access points more predictable between the UMD and the ESM and CJS versions.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
For example, if you want to do the same thing as but using the global file, you would use , If you wanted to do , that will be available at . Thus making the import/access points more predictable between the UMD and the ESM and CJS versions.