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

feat:use the build api instead of transform api to support inject etc. #71

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

AisonSu
Copy link
Contributor

@AisonSu AisonSu commented Apr 18, 2022

i just add this feature beacause i meet some demand that the same as this issue from esbuild,but the temporary solution will need the build api inject option,so i just turned to find if it have the same effect options in transform api.

but unfortunately,i only found this issue,the author of esbuild said that he was considering removing the transform API in the future and just having people use the build API instead,so i begin to investigate into how to use build api instead of transform api and i found the stdin and wirte options will make the build api work like the transform api in a simple way and support more feature.

@reconbot
Copy link

This would also let us use plugins

@egoist egoist changed the base branch from master to dev November 9, 2022 15:55
@egoist egoist merged commit 9b1437a into egoist:dev Nov 9, 2022
@reconbot
Copy link

reconbot commented Nov 9, 2022

🎉 🙏

@egoist
Copy link
Owner

egoist commented Nov 9, 2022

@reconbot plugins is not possible with sync api

@egoist
Copy link
Owner

egoist commented Nov 9, 2022

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@egoist egoist added the released label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants