How to combine all part's .css/.js into one .css/.js?

Enonic version: 7.13.3
OS: Linux Server

Now in react for XP app every part creates it’s one .css file and .js file.
How to combine them into one .css and .js to improve performance and reduce server load?

By the way I think It only makes sense if {ssr: true}

When I last did frontend development, I used Webpack for this, but there’s always some newer tool that does the same but better…