Using egg to achieve server-side rendering, how to compile and package static resources?

projects separated from the front and back ends can be compiled and packaged with static resources with webpack, but how to package the static resources at the front end with egg, such as scss,js compression, etc. Is there any way to integrate directly into egg?

Mar.31,2021

has nothing to do with egg, just quote it correctly

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