To expand on the the JavaScript example, another option is to skip committing the generated assets and instead instruct Runway to generate them for you: before the Golang application is built and deployed.
Consider the previous example, but let’s instruct Runway to build the JavaScript:
runway app config set BP_NODE_PROJECT_PATH=js
[build]
[[build.env]]
name = "BP_NODE_PROJECT_PATH"
value = "js"
This creates the following build plan on Runway:
js/
npm run build
static/rapidoc.iife.js