bundler
ss
Client bundling API for implementing a custom bundler.
The define client method of all bundlers must return the file locations for the client.
return ss.bundler.destsFor(client);
To offer a very different way to define the entry-points for assets the bundler can tweak the paths or replace them.
Param | Type | Details |
---|---|---|
client | object | Object describing the client. |
object | Destinations paths, relPaths, dir, containerDir |
Describe a system module.
Param | Type | Details |
---|---|---|
name | String | Name of the system module to return in a descriptor |
wrap | boolean | Shall the content be wrapped in |
AssetEntry | Entry |