How to optimize the front part of the java web project?

problem description

the company has a project based on srpingmvc + jsp, and the front-end display page is the introduction of js,css to the page. Due to historical reasons, the front-end engineering is not done, and the project is not suitable for complete front-end separation. I now want to do some scaffolding things, such as adding hash code to online js, picture extraction and CDN, replacing html text, and compressing and merging js. Is there a solution to make the framework or idea of this scaffolding? I hope you have experience to give some advice.

Jun.27,2022

you can use Baidu's fis front-end building tool, which is easier to use than using gulp or webpack to write these functions. You want to add hash code to the resource file, merge and compress resources, and replace html text. These have been integrated.
fis address


go directly to webpack Bar

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