How does webpack package the specified module into js and reference?

at present, a background management system has been developed. If you want to type a function module (there will be many pages and components) into a single js file, and then use the typed js file for development, such as routing to the function page, what should you do?

Mar.05,2021

you can split plug-ins using the new webpack.optimize.CommonsChunkPlugin module. After adding the plug-in, you can make a module distinction at the entrance

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-1eabbf0-47e61.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-1eabbf0-47e61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?