Set up a project
Purple Experience Builder

Builder Pipelines

6min
pipelines in the purple experience builder add processing steps for dynamic resources before they are merged or pushed they can be run manually or triggered automatically in the builder when you change affected files this allows you to write scss and compile it to one css file that gets delivered in purple apps and web, increasing developer experience and performance for more information about styling see experience styling docid\ yd4dwelaic3jch0qdilbp preconditions have admin access in purple manager for the app that you want to edit in experience builder explanation pipelines can be configured in a builder config json in the default folder of the dynamic resources in the purple experience builder a minimal and some other example configurations scss example { "$schema" "https //builder purplemanager com/api/public/schema/1 0/builder config schema json", "postprocessing" { "pipelines" { "style1" { "type" "sass", "input" "default/storefront/assets/styles/index scss", "output" "default/storefront/assets/custom css", "watchfiles" \["default/storefront/assets/styles/ / "] } } } } minimal { "$schema" "https //builder purplemanager com/api/public/schema/1 0/builder config schema json" } each pipeline has an input and output additionally, other fields are available to further configure the pipeline, see schema or autocomplete of the editor for more info about available fields if an output file is opened in the experience builder, it is read only to prevent accidental changes that would get overwritten anyway if the pipeline runs again pipeline types sass/scss reference https //sass lang com/ https //sass lang com/ the sass pipeline requires an input file and an output file it is recommended to place all scss files in a single folder and import all in an index scss which in turn generates the default/storefront/custom css the output file gets completely overwritten on every run! if your custom css contains styles before you create a pipeline, make sure to copy the contents into the appropriate scss files to not lose these styles watchfiles when specifying watchfiles , the pipeline automatically re runs if a matching file is changed you can specify multiple file globs, following the https //github com/isaacs/minimatch rules (see also https //en wikipedia org/wiki/glob (programming) )