feathersjs-ecosystem / feathers-reactive

Reactive API extensions for Feathers services
MIT License
216 stars 37 forks source link

Specify module type for project #204

Closed soulofmischief closed 1 year ago

soulofmischief commented 1 year ago

This allows use of the import statement.

Fixes: https://github.com/feathersjs-ecosystem/feathers-reactive/issues/193 https://github.com/feathersjs-ecosystem/feathers-reactive/issues/203

bitflower commented 1 year ago

Would the entry point src/index.js be fine? There are imports to function in files that don't export these function. As mentioned here: https://github.com/feathersjs-ecosystem/feathers-reactive/issues/203#issuecomment-1475028433

daffl commented 1 year ago

Thank you for the pull request. This has been included in v0.11 via https://github.com/feathersjs-ecosystem/feathers-reactive/pull/211