Fable: Missing 'equalsUnions' from 'fable-core'

Created on 6 Dec 2016  路  4Comments  路  Source: fable-compiler/Fable

I am trying to update ui-perf to test the performance for fable-arch without inline modifier.

But I am getting this error:
[BUNDLE ERROR] 'equalsUnions' is not exported by node_modules\fable-core\umd\Util.js

The code is here but I don't know which line is causing this error.

All 4 comments

It seems you're using --module commonjs. I modified Fable so in that case the default reference to the coreLib is fable-core/umd, I guess I should removed that if you're using it together with --rollup (as Rollup only understands ES2015 exports). For now the solution would be to remove --module commonjs and use "format": "cjs" within Rollup options instead.

Oh yes, I didn't see the module line thanks

Latest version (0.7.22) should be able to bundle normally even if you use --module amd. Can you please check?

It's working :)
Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grishace picture grishace  路  28Comments

et1975 picture et1975  路  25Comments

tomcl picture tomcl  路  26Comments

matthid picture matthid  路  29Comments

alfonsogarciacaro picture alfonsogarciacaro  路  35Comments