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

Minimize Tone.js Imports #3

Open
ogbabydiesal opened this issue May 31, 2024 · 1 comment
Open

Minimize Tone.js Imports #3

ogbabydiesal opened this issue May 31, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@ogbabydiesal
Copy link
Collaborator

can I import specific modules from tone in each class instead of the whole library each time?

Would that make the library smaller?

Would it be faster?

Is there a case to be made that it is more legible that way?

@ogbabydiesal ogbabydiesal self-assigned this May 31, 2024
@ogbabydiesal ogbabydiesal added the question Further information is requested label Jun 7, 2024
@ogbabydiesal
Copy link
Collaborator Author

have answered some of these questions, library now imports only what is necessary from Tone, but if anyone would like to work on minimizing the library through more efficient imports or build solution, that would be superb 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant