The prioritized concatenation now seemingly works but induces errors in the running code.
Turns out the script concatenation is working, I just needed to wrap the pure js properly.
Updated script to link any unhandled files from the input directory.
Fixed bug with extra slash in css import path.
Fixed bug where script was trying to relink files that had been modified.
Fixed bug causing some js assets to be loaded twice.
If I knew I'd tell you.
Merging the branch that should never have been.