seek-oss / braid-design-system

Themeable design system for the SEEK Group

Home Page:https://seek-oss.github.io/braid-design-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Braid 29.5.0 crashes with "Cannot access 'R' before initialization"

etaoins opened this issue · comments

Two of our repositories have been broken due to the upgrade from Braid 29.4.0 to 29.5.0:

  • SEEK-Jobs/indie-ryanair-frontend
  • SEEK-Jobs/indoctrinate (only the internal site)

They both use dynamic imports and appear to be crashing in what appears to be Braid's menu code. They also both work correctly when running locally using sku start.

This can be reproduced by:

  1. Checking out https://github.com/SEEK-Jobs/indoctrinate/commit/540be26abfadb88c66dbac4945537d0ad9191226
  2. Running yarn build && yarn serve
  3. Navigating to http://internal.apac.com:8080/schema