class FileConverter
package hxd.fs
Static methods
staticaddConfig(conf:Dynamic):Unknown
Add extra convert configuration. Should be props.json-compatible structure. Can be used to add or override converts that are enabled by default. Sample code of Convert registration and enabling it by default:
// Register Convert
static var _ = hxd.fs.Convert.register(new MyFancyConvert());
// Enable it
static var __ = hxd.fs.FileConverter.addConfig({
"fs.convert": {
// Converts are identified by output extension of Convert.
"origext": { convert: "fancyext", priority: 0 },
// Shorter declaration with default priority 0:
"otherext": "fancyext"
}
});