You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm trying to use redux-actions in Polymer 3 project with module imports (without any browserify compilation), but redux-actions depends on some libraries, that doesn't provide module exports, for example: invariant and lodash.camelcase.
So i'm getting such errors: Uncaught SyntaxError: The requested module '../../../lodash.camelcase/index.js' does not provide an export named 'default'
I tried to fork invariant and added the es-module there, and it worked ok. Lodash can be substituted with lodash-es.
But does redux-actions really have to depend on theese libraries? invariant and camelcase are not so big functions and can be simply included in redux-actions, this would make the redux-actions more independent.
The text was updated successfully, but these errors were encountered:
Hello. I'm trying to use
redux-actions
in Polymer 3 project with module imports (without any browserify compilation), butredux-actions
depends on some libraries, that doesn't provide module exports, for example:invariant
andlodash.camelcase
.So i'm getting such errors:
Uncaught SyntaxError: The requested module '../../../lodash.camelcase/index.js' does not provide an export named 'default'
I tried to fork
invariant
and added the es-module there, and it worked ok. Lodash can be substituted withlodash-es
.But does
redux-actions
really have to depend on theese libraries?invariant
andcamelcase
are not so big functions and can be simply included inredux-actions
, this would make theredux-actions
more independent.The text was updated successfully, but these errors were encountered: