ReleaseKit.Step.Volt (ReleaseKit v0.1.1)

Copy Markdown

Prebuild step for projects that ship Volt-managed frontend assets.

This module is compiled only when both optional dependencies :volt and :npm are available to the consuming project.

The step runs before mix release:

  • optionally installs locked npm packages from the configured asset root;
  • optionally removes Volt's output directory;
  • runs mix volt.build.

This keeps frontend assets inside the OTP release artifact while leaving deployment tools unaware of Volt.