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

Why not support --js complier option in the newest version ? #8518

Open
cnsource opened this issue Feb 4, 2025 · 2 comments
Open

Why not support --js complier option in the newest version ? #8518

cnsource opened this issue Feb 4, 2025 · 2 comments

Comments

@cnsource
Copy link

cnsource commented Feb 4, 2025

在一些情况下我需要js代码,但是现在没法生成了在25.1.24版本中
Image

@idleman
Copy link

idleman commented Feb 8, 2025

Would you accept a pull request to remove TS and replace it with JS instead? Consider it is better to support JS option and not only TS (All JS work in TS, but not the reverse) do it not make any sense from a business or technical sense. Of course, support both is the best, but if the maintenance cost is too high - definitely go for JS.

Regarding the case about many different runtimes/packages solutions in JavaScript, use ECMAScript modules and assume standard nodejs if needed. Preferable using the ".mjs" to make it 100% what it is - avoiding all confusion.

@cnsource
Copy link
Author

cnsource commented Feb 8, 2025

Would you accept a pull request to remove TS and replace it with JS instead? Consider it is better to support JS option and not only TS (All JS work in TS, but not the reverse) do it not make any sense from a business or technical sense. Of course, support both is the best, but if the maintenance cost is too high - definitely go for JS.

suggested removing TypeScript (TS) support and replacing it with JavaScript (JS) support.

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