hi, When i am trying to build the app using “ionic build android --prod” its giving me error
typescript error
Error encountered resolving symbol values statically. Reference to a local (non-exported) symbol ‘require’.
Consider exporting the symbol (position 100:13 in the original .ts file), resolving symbol AppModule in
/Users/srinivas/Desktop/24thApr/hul-payGo/src/app/app.module.ts
Error: The Angular AoT build failed. See the issues above
at /Users/srinivas/Desktop/24thApr/hul-payGo/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55
at step (/Users/srinivas/Desktop/24thApr/hul-payGo/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)
at Object.next (/Users/srinivas/Desktop/24thApr/hul-payGo/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)
at fulfilled (/Users/srinivas/Desktop/24thApr/hul-payGo/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)
how can i fix this