~/talk

How I love being ejected: Customizing your Angular build with Bazel

Talkat NGConf 2018 · on Thursday, 2018-04-19· [angular]
slides:none on file

Shows how to replace webpack with Bazel and compose ng_module rule + ts_library, sass_binary rule and rollup_bundle to build, test and serve an Angular app; a live demo adds a pipe, miswires a dependency then fixes it by adding the correct label so the build succeeds. Claims Bazel gives incremental builds proportional to change, supports production bundles and Node servers, and notes Angular 6 itself is built with Bazel though the integration is still in labs.

AI-written summary · about

  1. 0:00Start
  2. 2:06Build system configuration
  3. 2:50Central config files
  4. 3:42How would this be possible?
  5. 5:29Bazel build configuration
  6. 8:08tsconfig.json
  7. 8:26Multiple modules
  8. 9:09Chaining rules of different types
  9. 9:21A basic Angular application
  10. 10:22Two Angular modules
  11. 10:57ng_module assets
  12. 11:50SASS styles
  13. 12:00TypeScript library
  14. 12:20Karma test
  15. 12:35Run a test
  16. 12:45Production server
  17. 16:29Incremental builds
  18. 17:47Angular + Bazel Roadmap
  19. 18:43resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.