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

Callbacks

Link to this callback

preprocess_native(native)

View Source
@callback preprocess_native(native :: Bundlex.Native.t()) :: Bundlex.Native.t()
Link to this callback

preprocess_native_config(name, app, config)

View Source
@callback preprocess_native_config(
  name :: atom(),
  app :: atom(),
  config :: Bundlex.Project.native_config()
) :: Bundlex.Project.native_config()