opencomponents / oc

OpenComponents, serverless in the front-end world for painless micro-frontends delivery
https://opencomponents.github.io/
MIT License
1.43k stars 122 forks source link

check for exports data too #1329

Closed ricardo-devis-agullo closed 1 year ago

ricardo-devis-agullo commented 1 year ago

I'm testing a new bundler that will put the data function in exports.data instead of module.exports.data and realized that the server now will fail, so this will check for both so it works for both cases, since we don't care from our side where exactly is stored