engineering icon indicating copy to clipboard operation
engineering copied to clipboard

Bundle (and minify) JS before deployment

Open chrisvogt opened this issue 7 years ago • 1 comments
trafficstars

This project currently uses a handful of third-party scripts and styles:

  • jQuery
  • Popper
  • Bootstrap
  • Fuse.js
  • AddThis
  • Twitter
  • 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.

chrisvogt avatar Jun 14 '18 07:06 chrisvogt

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.

chrisvogt avatar Jun 19 '18 02:06 chrisvogt