javascript - Does webpack require have any global hook functions or callback functions before and after asynchronous loading?
I want to add a loading to the web page before the require asynchronous request component, and close the loading after the request is completed. Does webpack require have such a global hook function?