Bundlex.Project.Preprocessor behaviour (Bundlex v0.5.1) View Source

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.

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback

preprocess_native(native)

View Source

Specs

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

preprocess_native_config(name, app, config)

View Source

Specs

preprocess_native_config(
  name :: atom(),
  app :: atom(),
  config :: Bundlex.Project.native_config_t()
) :: Bundlex.Project.native_config_t()