Skip to content

Notes on the Build System

Roy Johnson edited this page Apr 10, 2017 · 10 revisions

Tools used

Gulp 4 - Task master for everything require pulls in the whole directory

autoprefixer supports whatever old browsers you specify (CSS)

jspm - like webpack with bower, closely associated with SystemJS See jspm-builder.js We don't put everything into one file in HTTP-2. How do we do it?

  • all 3rd party dependencies are bundled together
  • HTML, CSS, JS are separate now, but could be bundled
  • Files are multiplexed, all on one connection

Shortcomings/to be improved:

  • Only listens for changes, not for added files
  • Doesn't know to recompile SASS files that import other SASS files when the imported files change

jspm inspect shows system dependencies

Adding a tool

jspm install superb=npm:superb.js

Updating tools

nodecheckupdate (ncu)
jspm update (or install) will update all

Removing a tool

jspm remove superb

Warnings about outdated tools

Clone this wiki locally