CSS and JS Combine and Minify

Is there a way to combine all the js files in one .js file and all the css files in another .css file?
I have been looking and I have seen some plugin but I do not think it works for Kirby 3
Thank you so much

That is usually done with a build process, gulp, npm, webpack / Laravel Mix, Parcel, CodeKit … nothing Kirby specific.

Example npm script: GitHub - HashandSalt/NPMboilerplate: A build tool for front-end workers

There is a more uptdate version over here… https://github.com/HashandSalt/ForgeLiteKirby that still uses NPM scripts but with Laraval Mix thrown in too.