feathersjs-ecosystem/feathers-reactive

Failure to import in v0.10

Closed this issue · 3 comments

v0.10 cannot be imported using import statement.

Please fix

I've just run into this error. In my case it's specifcally when building for production using vite (therefore rollup). In dev mode its fine. The error seems to be related to the import of the "getParamsPosition" in feathers-reactive/src/resource.js.

I'm not 100% sure but I'm guessing its to do with the mixing of ES imports / cjs exports.

edit: didn't realise there was a PR already

@RobMaple See my comment here:
#193 (comment)

daffl commented

Should be fixed now in v0.11.0 via #211