-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
(build) allow third-party packages to override default languages #4199
base: main
Are you sure you want to change the base?
Conversation
I think this is ok, since one would only ever do this on purpose - but I'm going to give it just a little more thought. |
Build Size ReportChanges to minified artifacts in 1 file changedTotal change -1 B View Changes
|
Which build or builds are you using? The current implementation really wasn't designed to deal with overlapping names at all. I worry any behavior here may be accidental so I need to take a closer look. I'm fine with the idea of this change though (and it likely was my original intent - that 3rd party get added last, though I'm not sure I considered of dups). |
Ah, Could you give that a shot and update this PR? Technically this would be a breaking change, but I may let it slide since this strikes me as very edge case. |
67e407c
to
bd8de6c
Compare
Changing At the moment I'm using the browser build. |
Looks good. Safe to assume you tested and it also gets the job done? |
Indeed this works for me. |
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.
Tested by PR submitter, looks good to me. CI green.
Build Size ReportChanges to minified artifacts in 3 files changedTotal change +3 B View Changes
|
Changes
For example, I can define my own
rust.js
as a third-party package inextra/
, thennode tools/build.js rust
will pick up my version instead of the default version.Checklist
Added markup tests, orthey don't apply here because this just modifies the build scriptCHANGES.md