0

We are working on developing a website using different APIs naming Firebase, Filepicker etc. Technologies used are Node.js and AngularJS. The project is based on a tool called yeoman, which is a scaffolding tool for web apps. We keep our modules updated through bower and NPM. The website is developed and running fine locally. We are inclined to host the app on Heroku's server and whenever we push the production code the application breaks without any message and the server crashes. I believe there are some issues with Gruntfile.js or minification issues with angular when used with grunt. Please connect me with someone who could guide me to setup the website on Heroku's server. We use heroku toolbelt for windows to push the changes.

1 Answers1

0

There are some known issues with minifying AngularJS app, some of the declarations need to be written in particular way. See this SO answer.

Also, read the docs, scroll down to the part "A note on minification".

I've found this when looking for Heroku + AngularJS issues.

Please also verify compression server settings you are using.

Community
  • 1
  • 1
bwitkowicz
  • 779
  • 6
  • 15