Closed kevinresol closed 4 years ago
With nightly haxe the following is generated
class HxOverrides { ... } ((typeof(performance) != "undefined") ? typeof(performance.now) == "function" : false) ? HxOverrides.now = performance.now.bind(performance) : null
and somehow webpack thinks that is a function call, i.e. class HxOverrides {...}(...), resulting in TypeError: Cannot call a class as a function
class HxOverrides {...}(...)
TypeError: Cannot call a class as a function
Inserting a semicolon after } fixes it
}
With nightly haxe the following is generated
and somehow webpack thinks that is a function call, i.e.
class HxOverrides {...}(...)
, resulting inTypeError: Cannot call a class as a function