Ionic android build with --minifyjs --minifycss is not working

Hello i am using cordova with ionic angular while is run below command “ionic cordova build android --minifyjs --minifycss” generated app is not working and when i see console log to check what is error i fount out that it says e.resolve is not a function. but when i build apk with "ionic cordova build android " without minified build it working fine.