how can i find a replacement for fs?
i am using the itunes APN from npm (npm install apn) but it uses the fs module. I spend many hours on research and some suggested i had this to my webpack config
node: { 'fs': empty }
this prevents any errors but it obviously breaks the code so as far as i am concerned is not a solution at all.
I tried using fs-extra but this requires graceful-fs which in turns requires again the good old 'fs' module. So we are going in circles. How can i solve this please?