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 loader hack to include components #1

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Add loader hack to include components #1

merged 1 commit into from
Sep 18, 2020

Conversation

siku2
Copy link
Contributor

@siku2 siku2 commented Sep 18, 2020

I made sure that this also works for release builds with dead code elimination.

@siku2
Copy link
Contributor Author

siku2 commented Sep 18, 2020

One thing I should mention is that the loader_hack! macro can only be used once per module. If you want to define multiple components in a single module, let me know. It's something that can be fixed.

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

Successfully merging this pull request may close these issues.

2 participants