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 web feature flag #198

Open
TimJentzsch opened this issue Dec 23, 2024 · 0 comments
Open

Add web feature flag #198

TimJentzsch opened this issue Dec 23, 2024 · 0 comments
Labels
A-Web Building or running Bevy apps targeting the browser C-Dependencies A change related to dependencies C-Usability An improvement that makes the API more pleasant D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-for-Implementation This issue is ready for an implementation PR. Go for it!

Comments

@TimJentzsch
Copy link
Collaborator

The web functionality of the CLI adds a lot of code and dependencies, but not every user wants to target the web.

We should add a web feature flag (enabled by default) which guards all the dependencies and code only needed for the web features.
If a user wishes, they can disable the default features and then don't need to install all the additional dependencies.

@TimJentzsch TimJentzsch added C-Dependencies A change related to dependencies C-Usability An improvement that makes the API more pleasant A-Web Building or running Bevy apps targeting the browser labels Dec 23, 2024
@TimJentzsch TimJentzsch added the D-Straightforward Simple bug fixes and API improvements, docs, test and examples label Jan 2, 2025
@TimJentzsch TimJentzsch added the S-Ready-for-Implementation This issue is ready for an implementation PR. Go for it! label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Web Building or running Bevy apps targeting the browser C-Dependencies A change related to dependencies C-Usability An improvement that makes the API more pleasant D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-for-Implementation This issue is ready for an implementation PR. Go for it!
Projects
None yet
Development

No branches or pull requests

1 participant