In extension development, how can I include non-typescript static resources?

I am developing jupyterlab-box-drive.
An extension that adds Box cloud storage as a drive to jupyterlab.

there are at least two non-typescript static resources

I (forced) put these two in a visible place and created a state that works with docker compose

Is there a better way to do it?

I had to load BoxSdk.js, so I forced a script tag into the body tag