engineering
engineering copied to clipboard
Bundle (and minify) JS before deployment
trafficstars
This project currently uses a handful of third-party scripts and styles:
- jQuery
- Popper
- Bootstrap
- Fuse.js
- AddThis
- Google Analytics
- Autotrack
We should work towards reducing HTTP requests and one way to do that might be bundling the JavaScript assets before deployment. I haven't put much thought into any specific bundler or setup. If you have ideas please feel welcome to share them. Some thinking should go into the consequences of integrating a proposed solution with our current GitHub pages deployment process.
The GitHub Pages Deployment documentation on TravisCI looks like a good solution for deploying the build using Travis, if we end up using that with #58.