amyleew / osrm-frontend

Frontend interface for project OSRM directions
http://amyleew.github.io/osrm-frontend/
1 stars 0 forks source link

Add compression for js #1

Closed amyleew closed 9 years ago

amyleew commented 9 years ago

Per chat, add build command to bundle.js here package.json#L6-L9 like:

browserify index.js | uglifyjs -c -m > bundle.js

then run:

npm run build
npm start

/cc @tristen

amyleew commented 9 years ago

fixed https://github.com/amyleew/osrm-frontend/commit/846598a1b51b04c99e2e1f9103a3b9634296cadd