Using civicrm/composer-compile-plugin to compile JavaScript in a PHP library
I have a PHP component, miklcct/journey_recorder, which can be used either as a standalone website or as part of another site. It started initially as a pure PHP component which does all work server-side and outputs HTML to the browser, but over…