Build
Build all assets (Bare Mux, transports, proxy files, and chemical client scripts) into a folder.
Usage
Install chemicaljs
if you have not already.
Create a new build.
const build = new ChemicalBuild({
path: "dist",
default: "uv",
uv: true,
scramjet: true,
rh: false,
});
Write to the build path with build.write()
use build.write(true)
to first empty the directory.
Config
Property | Value | Description |
---|---|---|
path | string | Folder to build into. |
default | uv | scramjet | rh | Sets the default proxy. |
uv | true | false | Enable Ultraviolet. |
scramjet | true | false | Enable Scramjet. |
rh | true | false | Enable Rammerhead. |