How do you guys keep changes to ./config/config.yml if you’re pulling down the patternlab composer project?
4 replies
philw_ [1 hour ago]
I’ve added this to my pattern_lab.sh
script:
philw_ [1 hour ago]
# Installs plugin-data-transform in pattern-lab
cd ./pattern-lab
composer require 'aleksip/plugin-data-transform:^1.0.0'
# Add our copy of the config file.
cp ../patternlab.config.yml config/config.yml
cd ..
philw_ [1 hour ago]
My root theme directory has a patternlab.config.yml
file, which is copied to ./pattern-lab/config/config.yml
by the postinstall script (edited)
philw_ [1 hour ago] It also requires any PL plugins I want that don’t come with Emulsify