mix compile.corex_design (Corex Design v0.2.0)

Copy Markdown View Source

Advanced: rebuild Design CSS on mix compile when :corex_design is in compilers.

Most apps instead run mix corex.design.build from assets.build / assets.deploy (see Corex Manual installation). Optional compilers setup:

def project do
  [
    compilers: Mix.compilers() ++ [:corex_design],
    ...
  ]
end

On every mix compile the compiler hashes the resolved config :corex_design, the installed corex_design version, and the package lib + priv/css source trees. When that signature changes (or the output directory is missing) it re-runs the same pipeline as mix corex.design.build: config validation, the WCAG contrast gate, and bundle generation into the configured output directory. Otherwise it is a no-op.