Preact builder | Go Make Things
You select the Preact stuff you want in your build, and whether you’d like to use ES modules or an IIFE. The tool spits out a file you can host locally and instructions on how to use it.