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 plugin only seems to work with a single export default. This basically means that nothing will work as documented in a non ES6 setup. The tests that verifies this in the other db adapters is:
import*ashooksfrom'./hooks';importservicefrom'./service';service.hooks=hooks;// for backwards compatibilityservice.service=service;exportdefaultservice;
should fix it.
The text was updated successfully, but these errors were encountered:
Actually, the tests was there but wrong. expect(typeof require('../lib').default).to.equal('function'); should be expect(typeof require('../lib')).to.equal('function'); this will still work as the default with ES6.
The module exports plugin does not work with the current
index.js
like this:The plugin only seems to work with a single
export default
. This basically means that nothing will work as documented in a non ES6 setup. The tests that verifies this in the other db adapters is:Which is missing here. Changing the index file to
should fix it.
The text was updated successfully, but these errors were encountered: