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
I like the idea of automatic Ramda imports, but it makes a lot of sense for me having functions names like find on my models, for example. Because of this issue I'd like to propose an addition query to configure this loader to not automatically add imports.
I have implemented this as strict=false. This way, we can still have Ramda debugging facilities while not adding global imports.
What do you think about?
Thanks!
The text was updated successfully, but these errors were encountered:
I have an existing codebase with several other developers that would benefit from the debugging facilities but not the automatic import. We automatically provide ramda in the global scope on demand with webpack ProviderPlugin and use R. prefix.
Are you willing to add a flag to disable global imports?
Sorry for the late response. Sure, it makes a lot of sense.
@derekstavis Do you have a fork with the strict=false flag implemented? If so, you could make a pull request and I'll merge it. Otherwise I'll get that implemented.
@orther Sure, I'll implemented a imports=true | false flag.
I like the idea of automatic Ramda imports, but it makes a lot of sense for me having functions names like
find
on my models, for example. Because of this issue I'd like to propose an addition query to configure this loader to not automatically add imports.I have implemented this as
strict=false
. This way, we can still have Ramda debugging facilities while not adding global imports.What do you think about?
Thanks!
The text was updated successfully, but these errors were encountered: