After https://github.com/plotly/dash/pull/286, Dash uses the underneath Flask instance to serve and load files located in the assets/
directory, as it’s explained here: Adding CSS & JS and Overriding the Page-Load Template | Dash for Python Documentation | Plotly
However, I have got some files (actually, javascript source files) that I want to decide dynamically if I want to load them or not (depending on the arguments given to my app) or that I want to load them discretionary later on from my source code (I use gdc.Import for this).
So, is there any way to keep serving those files from the assets/ folder but to do not load them with the application startup?