#How do I add script attributes to script tags bundled with Astro?
6 messages · Page 1 of 1 (latest)
6 messages · Page 1 of 1 (latest)
Say, I've a <script> console.log('something') </script> at the bottom of the layout in astro project. The project bundles it to a hoisted script which is inserted in the head tag, but I'm unable to add the defer attribute to it.