Why does Magento 2 put JavaScript in HTML Head?

I’ve enabled JavaScript bundling and it added all the bundled files <script> in the <head>.

It blocks page rendering. Why not put it at the end of the <body> or add defer attribute to the <script> if they need to put them in the <head>?

Can/Should I change this behavior?

submitted by /u/nawawishkid
[link] [comments]