bap-bundle
BAP bundler
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library bundle
val create : unit -> t
create ()
creates a builder.
put_file ?name builder uri
insert a file specified by the uri
. If name
is specified, then the file will be stored under the specified name
in the bundle.
val put_data : t -> name:string -> data:string -> unit
put_data builder ~name ~data
insert data
at path name
.
embed_manifest builder manifest
embeds a manifest. If it was already embedded, then old one will be overwritten.