Our app has a feature that minifies all necessary JS files. The process of how Nuxt minifies the JS scripts when the app loads inside the <head>
looks something like this:
<script src="/_nuxt/cc2978d89512be6a8374.js" type="text/javascript"></script>
I'm wondering, is there a way to add an attribute to this file? Essentially transforming that line into:
<script someAttribute src="/_nuxt/cc2978d89512be6a8374.js" type="text/javascript"></script>
I've explored the nuxt.config.js
but couldn't figure out how to add it.
I also searched through the Nuxt documentation and didn't find anything relevant, so any assistance would be highly appreciated. Thank you in advance!