Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Your name
  2. The top 1-5 commands you use to trigger any sort of asset building or watching.
  3. The reasons why you use those particular commands (what do they do or not do)?
  4. Which commands cause you the most pain?

Thank you!


Learner IDAs—credentials, discovery, ecommerce (posted by ClintonB (Deactivated))

All IDAs have two Make targets: static and clean_static. As its name implies, clean_static removes all build artifacts (e.g. Webpack bundles, Django compressor output). Credentials is leading the pack (no pun intended) by using Webpack exclusively. Discovery uses Webpack for everything but Publisher (which still relies on Bower+RequireJS+Django Compressor). E-Commerce uses Bower+RequireJS+Django Compressor, and also does some extra work for theme SASS compilation. Thus, the ultimate output of the static target depends on the IDA. Links are below.

Additionally, Credentials has two additional targets for Webpack—static.dev and static.watch—that build Webpack for development (without minification) and watch for changes (also, without minification).

I am unaware of any pain points at this time. There were initial issues around the need to run the watch command for Webpack, but improved communication/documentation has resolved those issues.