View Source Bundlex.Project.Preprocessor behaviour (Bundlex v1.4.5)
Behaviour for preprocessing Bundlex projects.
Precompiling may involve either generating additional resources or altering the project itself.
Currently, preprocessing native configuration (preprocess_native_config/3
)
and parsed natives (preprocess_native/1
) is supported.
Summary
Types
@type t() :: module()
Callbacks
@callback preprocess_native(native :: Bundlex.Native.t()) :: Bundlex.Native.t()
@callback preprocess_native_config( name :: atom(), app :: atom(), config :: Bundlex.Project.native_config() ) :: Bundlex.Project.native_config()