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 related dialects in parallel #70

Open
isaacs opened this issue Jun 6, 2024 · 2 comments
Open

build related dialects in parallel #70

isaacs opened this issue Jun 6, 2024 · 2 comments

Comments

@isaacs
Copy link
Owner

isaacs commented Jun 6, 2024

Of course, CommonJS and ESM can't be built in parallel, since we have to swap out the package.json file that tells TSC what to build. But when there are multiple CommonJS or ESM dialects, they can be built in parallel, and it'd go a bit faster in cases where there are a lot of them.

@mpodwysocki
Copy link
Contributor

mpodwysocki commented Jul 3, 2024

@isaacs Would something like this work for example? https://gist.github.com/mpodwysocki/a26cc15f9ae04dc327d51fe73367e3dd

@isaacs
Copy link
Owner Author

isaacs commented Jul 4, 2024

@mpodwysocki It might! Just need to make sure it's not building into the same outDir.

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

No branches or pull requests

2 participants