Closed kevinresol closed 4 years ago
The 'default' is needed in order for plain Haxe code to generate the correct require() call. However I think genes should be aware of it and simply generate import Lib from "lib" instead of import {default} from "lib" which is invalid anyway.
'default'
require()
genes
import Lib from "lib"
import {default} from "lib"
The
'default'
is needed in order for plain Haxe code to generate the correctrequire()
call. However I thinkgenes
should be aware of it and simply generateimport Lib from "lib"
instead ofimport {default} from "lib"
which is invalid anyway.