groundwired / salesforce-food-bank

Food Bank Manager built on Salesforce using Angular.js
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Minify JS files via Grunt instead of zipping JS files #57

Open daveb-501commons opened 6 years ago

daveb-501commons commented 6 years ago

Right now the staticresource is a zip of all the JS files. Look to use grunt to make a minimized js file that can be in Salesforce instead of zip file for better performance.

https://github.com/gruntjs/grunt-contrib-uglify

groundwired commented 6 years ago

As part of this effort, should also move the bower_components folder out of the static resource because it contains many source files that are not used by the app. Instead, the build script should put only minified versions of the components (and any dependencies) into a dist folder inside the static resource.