opencomponents / oc-client-browser

The OpenComponents Browser client
MIT License
6 stars 8 forks source link

BUGFIX: Use `module.exports` instead of `exports` #105

Closed Alan-McKenna closed 1 year ago

Alan-McKenna commented 1 year ago

Description

Problem

Ever since v1.6.5 was released we have been running into import exceptions for oc-client:

* oc-client: Component execution error: exports is not defined (500)

It looks like the cause of this is the choice of exports over module.exports here.

Solution

We should prefer module.exports over exports

ricardo-devis-agullo commented 1 year ago

done and published