The htmx.config.extensions option accepts a comma-separated list of htmx extensions to automatically load.
Default: ""
Example
htmx.config.extensions = "preload,morph";
<meta name="htmx-config" content='{"extensions":"preload,morph"}'>
Extensions must be available in the page for this to work.