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

Change esbuild logic to allow passing thru of custom configuration #1403

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

finnholland
Copy link
Collaborator

Description of the proposed changes

  • Adjusted the logic of the esbuild behaviour options so that if more than just define and entryPoints are declared the other values will be used. (such as minify)
  • Didn't allow overriding of minifyIdentifiers as it causes errors

Notes to reviewers

🛈 When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback

@finnholland finnholland changed the title Overwrite props if provided otherwise default Change esbuild logic to allow passing thru of custom configuration Oct 24, 2024
packages/esbuild/esbuild.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@TheOrangePuff TheOrangePuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@finnholland finnholland merged commit 7261e86 into main Oct 25, 2024
1 check passed
@finnholland finnholland deleted the esbuild_options branch October 25, 2024 02:35
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.

2 participants