Move React files into custom directories

This morning I tried to rebuild my instapaper clone for Nextcloud from PHP and plain javascript to React, but I needed to move the compiled javascript and CSS files into a custom directory structure for the nextcloud app release. Iโ€™m using create-react-app and react-app-rewired and apparently there is no simple way to modify the output directory โ€žbuildโ€œ to something different. To avoid additional tools and steps in my process, I decided to write a piece of javascript and execute it with node after building my app via npm....

24. April 2020 ยท Carsten