-
Notifications
You must be signed in to change notification settings - Fork 270
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
Conditionally apply mixins #68
Comments
The format now allows potential appending of fields to the mixins list, as of 0.4.0. |
Can this be closed then? |
No. You still need to use IMixinConfigPlugin. |
Can't we just always stick to mixin config plugins for conditional application? This is what sponge has been always doing. Need to take a stance on this and decide whether to kill this issue. |
Just use |
We don't (officially) support mixin plugins, they don't work well with planned features like pre-baking bytecode edits and are too easy to mess up by loading classes that shouldn't be at this stage. |
Currently, to conditionally do something, you have virtually 2 choices.
1.
I think the mixin JSON could be extended to allow a condition to be passed next to the applicable mixin.
The text was updated successfully, but these errors were encountered: