Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (16 loc) · 1.87 KB

learnings.md

File metadata and controls

26 lines (16 loc) · 1.87 KB

Learnings

This document contains the lessons learned. The following icons categorize the outcome:

  • ✅ clean and good solution
  • ⚠ work-around
  • ⛔ unable to solve

Material UI

Snowpack

Workbox

  • An error is thrown while running workbox: node_modules/workbox-core/types.d.ts(14,12): error TS2304: Cannot find name 'ExtendableEvent'.
    ✅ For compilation the WebWorker library needs to be configured: GoogleChrome/workbox#2172 (comment)
  • Workbox offers a webpack plugin, which caches all emitted assets. Unfortunately the copied files from the public folder are not included, because Snowpack copies them.
    ⚠ It's possible to add some additional manifest entries manually. This is not ideal, because the selection probably needs to be upgraded when new files are added and collisions can be created.

Misc

  • In Docker containers the UI tests can run in an unsandboxed Chrome. Pupeteer needs to be configured accordingly
    ✅ This can be done via web-test-runner.config.js.