How to use snippets in frontend js files?
if it’s used often: define a js-variable in base.html.twig for accessing.