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
There may be a nicer way of writing this to remove the additional level of indentation from the added ifs of course but the point is we aren't using variables in the require().
Would it be possible to add this (or a better) fix to avoid dynamic require() statements? It would be a shame to fork and maintain a repo for such a small fix 👍
Thanks in advance for the feedback and/or help!
The text was updated successfully, but these errors were encountered:
Hi there,
I'm currently trying to incorporate the SignNowSDK into a project that is using esbuild.
Unfortunately, it seems that
setEnvConfig()
uses dynamicrequire()
statements that are causing our build to fail.A quick and easy solution to this is to not use the dynamic requires statements, even if it means adding a small amount of code duplication.
There may be a nicer way of writing this to remove the additional level of indentation from the added
if
s of course but the point is we aren't using variables in therequire()
.Would it be possible to add this (or a better) fix to avoid dynamic
require()
statements? It would be a shame to fork and maintain a repo for such a small fix 👍Thanks in advance for the feedback and/or help!
The text was updated successfully, but these errors were encountered: