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

Build: bundle script a bit less repetitive, add a completion indicator #20277

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Dec 14, 2022

Related: #20157

What I did

I was trying to come up with strategies to make the linked issue work, and in order to do so I needed to add a few extentions to the bundle script.

In the end I didn't make those extentions, but the cleanup I did to get there is still nice, I think.

This does add the option of ONLY generating mjs or ONLY generating cjs.

(it does not add the ability to swap extentions (I removed that after the experiment)

@yannbf you'll like this:
The bundle script now prints "done" after running successfully 😘

@ndelangen ndelangen self-assigned this Dec 14, 2022
@ndelangen ndelangen added the build Internal-facing build tooling & test updates label Dec 14, 2022
@ndelangen ndelangen changed the title make the bundle script a bit less repetitive, make it have a done indicator Build: bundle script a bit less repetitive, add a completion indicator Dec 14, 2022
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

I don't really know this code well but this seems good.

@ndelangen ndelangen merged commit 269c021 into next Dec 14, 2022
@ndelangen ndelangen deleted the tech/improve-bundle-script branch December 14, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Internal-facing build tooling & test updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants