How to Polyfill node core modules in webpack 5 using ionic capacitor angular

11 Views Asked by At

i tried making a custom webpack.config.js nothing works. i losing my hair now. XD does someone know what to do, this is an ionic capacitor angular project.

Error: Module not found: Error: Can't resolve 'crypto' in 'C:\Users\arjan\OneDrive\Bureaublad\ionic_proj\wallet_helper\node_modules@solana\spl-typ

enter image description here

0

There are 0 best solutions below