polyfill-node not working when building with remote
#2588
Unanswered
joepio
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
What are your thoughts about the security impact of using streaming/remote dependencies over standard package manager dependencies? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to run
snowpack build --polyfill-node
in my project withpackageOptions.source: remote
, I get this error:This seems wrong for multiple reasons:
crypto
library is in fact available in the browser. The library which I use (noble-ed25519
) uses the browser crypto API and explicitly targets browsers.--polyfill-node
flag, and have even setpackageOptions.polyfillNode: true
.Beta Was this translation helpful? Give feedback.
All reactions