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
The code is bundled using rollupjs as an umd module, treating default export differently than how webpack interprets it (rollup default exports are compatible with the var module = require('module') style) . We had the same problem with Dexie and solved it there by setting defaultExport.default = defaultExport. This made it work no matter using webpack or commonjs require. Should solve it the same way here.
I'm using typescript with webpack, and when instantiating Dexie, the export that's used is
relationships.default
.After compilation and packing,
{addons: [relationships]}
turns into what is essentially{addons: [relationships.default]}
.Is this an error with the module, or an export?
The text was updated successfully, but these errors were encountered: