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

Add an option to compile code that conforms to the ES6 specification for web and minigame platforms #18092

Open
minggo opened this issue Dec 27, 2024 · 0 comments
Assignees
Labels
Scripting Engine bindings, script system and editor script compiler related

Comments

@minggo
Copy link
Contributor

minggo commented Dec 27, 2024

Currently cocos compile code that conforms to the ES5 specification. It may reduce package size if compile code that conforms to the ES6 specification.

Add an option instead of replace is to keep compatibility and not all devices supports ES6.

@minggo minggo added the Scripting Engine bindings, script system and editor script compiler related label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scripting Engine bindings, script system and editor script compiler related
Projects
None yet
Development

No branches or pull requests

2 participants