Separate theme (as dependency), build artifacts

I want to share a Sage based theme between two (or more) Bedrock based sites.
The Sage theme got proper composer.json and tags so composer can pull it like any other plugin dependency.

However - how to handle the build artifacts? Should I do dirty commits with the build artifacts into an extra branch? I don’t think composer should install the node packages and run the build script by itself - so the build artifacts should properly already available as static files.

Related to Controller doesn't work when installing Sage-based theme via Composer (currently Controller doesn’t work when installing a Sage-based theme via Composer).

1 Like