What is the problem of introducing js into webpack templates?

question: use html-webpack-plugin to inject js files into template files. If a.js needs to introduce b.js in head, how should html-webpack-plugin be configured if it needs to be introduced in body? A.js is a global script file.


there seems to be no such api.

but don't know what your requirements are, be sure to place script tags separately.

because the tags placed in the head block the loading of the page and slow down the rendering speed, the css is usually placed at the head and the js at the bottom

.

A single page itself has less html, so it doesn't matter if you put it at the bottom of the head.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2eb32-2bc31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2eb32-2bc31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?