Skip to content

fix(build): remove esbuild and use tsc for the compilation #74

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

walmsles
Copy link
Contributor

@walmsles walmsles commented Jun 9, 2025

Summary

Changes

Remove use of esbuild and use tsc to simplify the build process.

This PR resolves the issue described in #61 by removing esbuild. This is a required simplification that removes the esbuild issue for the server runtime. This PR should replace PR #71 as a preferred alternative.

note: This PR should not be included until #72 has bee resolved since e2e tests are essential for moving forward.

Issue number:

#61


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@pull-request-size pull-request-size bot added the size/M PR between 30-99 LOC label Jun 9, 2025
@dreamorosi
Copy link
Contributor

Hi @walmsles thanks for the PR (and sorry for the delay)!

If you could resolve the merge conflicts, I'd be happy to merge it right away.

- Remove esbuild.config.mjs and related dependencies
- Update package.json build scripts to use tsc
- Simplify build process for better compatibility
@walmsles
Copy link
Contributor Author

Hi @walmsles thanks for the PR (and sorry for the delay)!

No delay - it is Open Source 🥇 and have been doing more important tasks (sorry for making lots of work for you)

If you could resolve the merge conflicts, I'd be happy to merge it right away.

👍 All done - I rebased main onto my PR and pushed it up

@dreamorosi dreamorosi merged commit 79bac51 into aws-powertools:main Jun 10, 2025
6 of 7 checks passed
@dreamorosi dreamorosi linked an issue Jun 10, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M PR between 30-99 LOC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: review build step
2 participants