Native Barcode scanner

Hi All,
I used ionic native barcode scanner(installed cordova plugin dependency) . it is working fine for android and IOS builds(ionic cordova build android/IOS). but i am facing some error for browser build (npm run ionic:build --prod --verbose).

Kindly help me out. Am i building the application correct??

Pradeep G