As brought up in #514 (comment), since we are adding quite a few libraries now, some package management should help us keep it tidy.
Because most of our deps are frontend code, npm would be the easiest choice. If we want to make it extra consistent, we could also use composer for php related stuff.
I think it is easiest if we do all the compiling/moving of the deps inside npm and not add gulp or something similar.
Along with this step, we could actually switch to sass/scss to simplify all the styling (and make the dark mode more consistent) and add an auto-prefixer as well (something like this).
The best would be to add a npm watch to the docker compose command, so the developer doesn't have to start too many things. If we want we could have an npm build github action to be sure that we always have the compiled versions in the github-repo.
As brought up in #514 (comment), since we are adding quite a few libraries now, some package management should help us keep it tidy.
Because most of our deps are frontend code, npm would be the easiest choice. If we want to make it extra consistent, we could also use composer for php related stuff.
I think it is easiest if we do all the compiling/moving of the deps inside npm and not add gulp or something similar.
Along with this step, we could actually switch to sass/scss to simplify all the styling (and make the dark mode more consistent) and add an auto-prefixer as well (something like this).
The best would be to add a
npm watchto the docker compose command, so the developer doesn't have to start too many things. If we want we could have annpm buildgithub action to be sure that we always have the compiled versions in the github-repo.