genes
genes copied to clipboard
Non-existant type in exports.
This is probably an already known issue, but when trying to generate the exports for abstracts, it includes the impl version, even though that does not exist in the output.
i.e.
Abstract Vector3(vstruct) {
}
the index.js has
import {Vector3} from './vec.js';
import {Vector3_Impl_} from './vec.js';
Normally, this is probably fine, but when trying to use the ESM output as browser module, this causes it to fail to run.
I've gotten around it by just opening the index.js that is generated and commenting out the offending lines.
Do you have a reproducible example? I can add it to the tests and see we can work around it.