https://github.com/arackaf/mongo-graphql-starter/blob/special/jdd/index.js#L3
Named exports, in particular createGraphqlSchema from
https://github.com/arackaf/mongo-graphql-starter/blob/special/jdd/src/module.js
are not available unless I clone the object, like in the original link above.
To repro, clone that repo, npm i then jump into the test folder and run node testRoot. With the Object.assign from the top-level index.js (or object spread, obviously), it works, and logs "function". If you remove the clone, and just export the ES module itself
module.exports = require("./src/module.js");
it blows up.
Thanks @arackaf!
This is an interesting case of cjs bridge use. I'll add a unit and cut a release soon.
v0.11.0 is released :tada: