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
I'm currently bundling my server project using webpack, while using babel-loader for the transpilation (set with the modules: false option so module import code is handled by webpack.
When importing dgraph-js, it throws a runtime error if I import it without star, but works fine with the star import:
importdgraphfrom'dgraph-js'// ERROR in runtimeimport*asdgraphfrom'dgraph-js'// OK
The last time the package was published was about 6 months ago, not sure if trying again with a newer version of TypeScript would help, perhaps using the esModuleInterop: true flag?