ionic-team / ionic-starter-super

The Ionic 2 Super Starter 🎮
Other
376 stars 142 forks source link

add function enableProdMode #141

Closed davidgv88 closed 7 years ago

davidgv88 commented 7 years ago

I'm submitting a ... (check one with "x") [ ] bug report [x] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

Angular is running in the development mode. Call enableProdMode() to enable the production mode.

Expected behavior:

This template could add the function "enableProdMode" commented And uncomment when needed.

janpio commented 7 years ago

enableProdMode is automatically enabled by the Ionic build process (via Ionic app-scripts) if you do a production build (--prod). No need to do anything.