Webpack handles how externally introduced script files are configured.

is a multi-page project, and a script local file must be introduced in the header.
if you use HtmlWebpackPlugin, can you specify that one of the files is inserted in front of head and the other body is inserted in front of it.

I tried to introduce the script relative path directly into the page. Devserver will not be displayed, and the packaged path will not be processed into a packaged path. How to configure it?

Menu