-
-
Notifications
You must be signed in to change notification settings - Fork 724
build(napi/oxlint): do not extern constants.mjs
#13696
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(napi/oxlint): do not extern constants.mjs
#13696
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
0d09c13 to
2f242a6
Compare
2735f01 to
16ae6bb
Compare
Merge activity
|
16ae6bb to
80f3ca5
Compare
2f242a6 to
df3ea39
Compare
80f3ca5 to
d13b5b2
Compare
Surprisingly, TSDown inlines the constants from `constants.mjs` into the bundled code, regardless of whether the file is listed as `external` in TSDown config. So remove it from `external` list and don't copy the file into `dist`.
df3ea39 to
21cbfbe
Compare
Surprisingly, TSDown inlines the constants from `constants.mjs` into the bundled code, regardless of whether the file is listed as `external` in TSDown config. So remove it from `external` list and don't copy the file into `dist`.
21cbfbe to
04b9809
Compare
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Surprisingly, TSDown inlines the constants from
constants.mjsinto the bundled code, regardless of whether the file is listed asexternalin TSDown config. So remove it fromexternallist and don't copy the file intodist.