mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
The bitwarden-clients workspace uses source-direct webpack bundling: apps bundle libs via @bitwarden/* path aliases in tsconfig.base.json that resolve to sibling lib source, not dist artifacts. The workspace default targetDefaults.build.dependsOn: ["^build"] is an artifact-based declaration that did not match the codebase. Combined with @nx/js plugin auto-inference of build targets on every lib with a tsconfig.lib.json, it forces nx build <app> to walk into leaf libs that cannot compile standalone with tsc. This causes failed builds. This commit changes the workspace default to [], making the declaration match the actual bundling pattern. Apps no longer pull broken leaf libs through their build chain, instead using their dependencies with their aliases.
1.0 KiB
1.0 KiB