Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daveb-501commons opened this issue Nov 16, 2017 · 1 comment
Open

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

daveb-501commons opened this issue Nov 16, 2017 · 1 comment

Comments

@daveb-501commons
Copy link
Contributor

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants