What is use Rex -base
?
#1544
-
I see this import in modules generated with I didn't find a documentation for it looking up in pod. I usually replace the line with: If an alias, how does it differ from the 1.4 feature flag? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The difference is roughly this:
|
Beta Was this translation helpful? Give feedback.
-base
,-feature
and-minimal
controls what happens during compilation time whenuse Rex ...
is encountered. It boils down to a set of imports, and in case of-feature
also handling the configuration options according to the features flags passed to it.The difference is roughly this:
-minimal
is a minimal set of imports. It's useful for module development to avoid pulling in things that might not strictly required by the module's functionality.-base
is a set of imports that is deemed necessary for the intended out-of-the-box Rex experience. It's useful in modules to match the same set of imports as the currently installed Rex version intends to provide.-feature
imports the shared-base
…