Best practice to render JS

Hey! For my next project, I'm using Statamic as a CMS to generate yearly interactive data-reports. I'm going to use replicators to generate a lot of JS with chart.js.

Is there any way to generate the JS with the values from statamic in an external JS file and not in the dom?

>>>>>>> Unanswered <<<<<<<
2 Replies