feathersjs-ecosystem/feathers-reactive

Transpile fails for client builds

DominikTrenz opened this issue · 3 comments

This module requires:

"@feathersjs/commons": "^1.4.0",
"@feathersjs/feathers": "^3.1.1",

Those are untranspiled versions, which will break builds that require to run in non es6 browsers
(edge, ie11).
Please manually transpile the dependencies or require the "@feathersjs/client" version of those modules.

Related:
feathersjs/feathers#608

daffl commented

Same issue as #101

daffl commented

How to set up Feathers to properly work for client builds outside created-react-app is outlined in https://docs.feathersjs.com/api/client.html#module-loaders

Webpack config isn't accessible for Angular CLI users. It is accessible using ng eject, but then the user looses all Angular CLI features, which is not recommended.

Can't we just include transpiled code in the module, which is the recommended way? Maybe in a separate module like the '@feathersjs/client' module?