How to do CSS/JS bundles/minifying in Craft 3
Craft doesn't output any code unless you write it, so you have complete freedom to use any standard front end build process and include the built files in your templates. There are a few plugins that help with this depending on build process though, such as:


https://plugins.craftcms.com/mix
https://plugins.craftcms.com/twigpack
https://plugins.craftcms.com/minify
https://plugins.craftcms.com/assetrev