[haxe] add dom flag support

This commit is contained in:
2019-02-25 17:37:17 +03:00
parent 0694b624be
commit 0ee8ed8cd8

View File

@@ -89,6 +89,9 @@ class Haxe extends Sdk {
fs.writeFileSync(path.resolve(buildDir, 'project.xml'), project); fs.writeFileSync(path.resolve(buildDir, 'project.xml'), project);
const args = ['-cwd', buildDir, 'run', 'openfl', command, platform]; const args = ['-cwd', buildDir, 'run', 'openfl', command, platform];
if (config.flags.dom) {
args.push('-Ddom');
}
if (debug) { if (debug) {
args.push('-debug'); args.push('-debug');
} }