Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Sep 11, 2025

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.

Copy link
Member Author

overlookmotel commented Sep 11, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
Copy link
Contributor

camc314 commented Sep 12, 2025

Merge activity

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
@overlookmotel overlookmotel changed the base branch from 09-11-build_napi_oxlint_simplify_build_script to graphite-base/13696 September 12, 2025 03:55
@overlookmotel overlookmotel force-pushed the 09-11-build_napi_oxlint_do_not_extern_constants.mjs_ branch from 2f242a6 to df3ea39 Compare September 12, 2025 03:56
@overlookmotel overlookmotel changed the base branch from graphite-base/13696 to 09-11-build_napi_oxlint_simplify_build_script September 12, 2025 03:56
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
@graphite-app graphite-app bot force-pushed the 09-11-build_napi_oxlint_simplify_build_script branch from 80f3ca5 to d13b5b2 Compare September 12, 2025 04:10
graphite-app bot pushed a commit that referenced this pull request Sep 12, 2025
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`.
@graphite-app graphite-app bot force-pushed the 09-11-build_napi_oxlint_do_not_extern_constants.mjs_ branch from df3ea39 to 21cbfbe Compare September 12, 2025 04:11
Base automatically changed from 09-11-build_napi_oxlint_simplify_build_script to main September 12, 2025 04:15
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
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`.
Copilot AI review requested due to automatic review settings September 12, 2025 04:19
@graphite-app graphite-app bot force-pushed the 09-11-build_napi_oxlint_do_not_extern_constants.mjs_ branch from 21cbfbe to 04b9809 Compare September 12, 2025 04:19
Copy link
Contributor

Copilot AI left a 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.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
@graphite-app graphite-app bot merged commit 04b9809 into main Sep 12, 2025
17 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
@graphite-app graphite-app bot deleted the 09-11-build_napi_oxlint_do_not_extern_constants.mjs_ branch September 12, 2025 04:24
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.

3 participants