Closed ChuckJonas closed 3 years ago
Does ts-force
use axios
to try and prevent using @salesforce/core
in the browser?
Is it a goal to make this package browser compatible?
ya, ts-force
needs to remain isomorphic. I primary use it in browser applications at the moment.
This issue is in regards to how the generator connects with salesforce. One of the options is to use the sfdx connections. Right now, I believe it's spawning processes that just call into the CLI (EG sfdx force:org:display -u my-user --json
)
Seems to be faster and not dependent on having the CLI installed
@salesforce/core
Should just be something like this: