alextseni / GreekGameDevs

MIT License
3 stars 0 forks source link

Reduce time to build for heroku #1

Closed pchrysa closed 6 years ago

pchrysa commented 6 years ago

Test this if server stuff also work.

Right now everytime app sleeps, when wakes up it takes a lot of time due to the fact that is building the whole project.

For this I have pushed the dist folder (which needs before deploying npm run build)

Also I had add all devDependencies to package.json as dependecies until we reseach for a better solution or maybe change boilerplate.

Also I re-added the if DEV in main.js and added some config for production purposes.

I have tested in a custom heroku, but haven't tested yet what happens when the heroku will sleep. We will find out tomorrow