Closed
Description
its not possible to require/import circos ....
in circos.js, add this on the end:
module.exports = Circos;
this will allow to import like this:
import Circos from 'circos/dist/circos'
to allow direct inclussion add index.js directly in the circos folder with this content: (first change is still needed)
module.exports = require('./dist/circos');
now its possible to include like
import Circos from 'circos';
Metadata
Assignees
Labels
No labels