I was attempting to package
stripe.js when I ran across this line: https://github.com/stripe/stripe-node/blob/master/lib/stripe.js#L24
ERROR in ./~/stripe/lib/stripe.js Module not found: Error: Cannot resolve module 'child_process' in ~\node_modules\stripe\lib @ ./~/stripe/lib/stripe.js 24:11-35 ERROR in ./~/stripe/lib/StripeResource.js Module not found: Error: Cannot resolve module 'fs' in ~\node_modules\stripe\lib @ ./~/stripe/lib/StripeResource.js 14:31-44
If I understand correctly, these are two built-in modules that ship with node.js. Isn’t webpack supposed to be able to provide a web-equivalent?
What do you recommend I do in this case?