not yet in docs -
the mime type can be explicitly set with the option
|Did you know ...||Search Documentation:|
false), do not include About itself, but only its dependencies. This allows for defining an alias for one or more resources.
Registering the same About multiple times extends the properties defined for About. In particular, this allows for adding additional dependencies to a (virtual) resource.
headusing html_post/2. The actual dependencies are computed during the HTML output phase by html_insert_resource//1.
:- multifile html_head:mime_include//2. html_head:mime_include(text/'x-prolog', Path) --> !, html(script([ type('text/x-prolog'), src(Path) ], )).