I am getting the following error when trying to run a prod build using the following
ionic cordova build browser --prod
Getting lot
Ionic 3.3.0 (2017-05-24) removed the usage of legacy file 'src/declarations.d.ts' as mentioned in the changelog. Removing 'declarations.d.ts' from the src/ folder fixes the unused imports warning.
For more info check out the GitHub issue.