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

[bundle-size-chart] Replace ts-node with tsx #2469

Merged

Conversation

danielrozenberg
Copy link
Member

tsx requires less jumping through hoops to make esm-compatible code work, which is something I changed in a recent PR but haven't tried to deploy to prod until today. Looks like the deployment failed because of ts-node+esm incompatibilities, so this PR should fix it.

As a tag-along, I changed tsconfig.json to be as forward and as strict as possible, with minor code fixes

@danielrozenberg danielrozenberg enabled auto-merge (squash) May 1, 2024 20:24
@danielrozenberg danielrozenberg disabled auto-merge May 1, 2024 20:24
@danielrozenberg danielrozenberg enabled auto-merge (squash) May 1, 2024 20:24
@danielrozenberg danielrozenberg force-pushed the bundle-size-chart-tsx branch from 982a5d0 to 52db29b Compare May 6, 2024 18:11
@danielrozenberg danielrozenberg force-pushed the bundle-size-chart-tsx branch from 52db29b to fb6f198 Compare May 7, 2024 15:54
@danielrozenberg danielrozenberg merged commit 5917407 into ampproject:main May 8, 2024
4 checks passed
@danielrozenberg danielrozenberg deleted the bundle-size-chart-tsx branch May 8, 2024 19:44
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