You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
https://github.com/arackaf/mongo-graphql-starter/blob/special/jdd/index.js#L3
Named exports, in particular
createGraphqlSchema
fromhttps://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 thetest
folder and runnode 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 itselfmodule.exports = require("./src/module.js");
it blows up.
The text was updated successfully, but these errors were encountered: