Skip to main content

Frontend asset builds are now supported via pantheon.yml

July 9, 2026

Sites can now compile frontend assets (themes, design systems, and other Node.js-based tooling) automatically as part of the build process.

When enabled, Pantheon installs your Node.js dependencies and runs your build script for each configured path on every code push, so compiled assets no longer need to be committed to your repository. Frontend builds work on any site, whether or not you use Integrated Composer.

Enable frontend builds

Add a frontend_build block to your pantheon.yml file:

Pantheon selects a package manager automatically based on the lock file present in each build path. Supported package managers include bun, pnpm, yarn, and npm.

For full configuration details and examples, see the frontend asset builds documentation.

Information:
Still using Build Tools?

Pantheon recently released the final update to the build-tools-ci Docker image. No further updates, bug fixes, or security patches will be provided for Build Tools.

Site(s) still using Build Tools today should move to our newer platform capabilities: