If I understood properly, all files could go into your spring boot application package, into
./src/main/resources/META-INF/resources/webjars/camunda/app/cockpit/scripts
The main file is config.js
which “overrides” the default in webjar in precedence and defines the plugins to include.