angular/.github/actions/deploy-docs-site
Alan Agius 32ff9eb566 build: mark pnpapi as external for esbuild (#63723)
In the `deploy-docs-site` GitHub action, esbuild fails to resolve `pnpapi` during the bundling process. This is because `pnpapi` is a dependency that is available in the Node.js environment at runtime and should not be bundled.

This commit marks `pnpapi` as an external dependency for esbuild to prevent it from being bundled and resolve the build failure.

```
✘ [ERROR] Could not resolve "pnpapi" [plugin bazel-sandbox]
```

See: https://github.com/angular/angular/pull/63722#issuecomment-3278922553

PR Close #63723
2025-09-11 15:36:34 +00:00
..
lib build: migrate documentation site deploy script to use ts_project (#61102) 2025-05-06 13:33:28 -07:00
action.yml build: fix rate limits when deploying angular.dev site (#56929) 2024-07-11 08:54:50 -07:00
BUILD.bazel build: mark pnpapi as external for esbuild (#63723) 2025-09-11 15:36:34 +00:00
esbuild.conf.js build: use esbuild from aspect rules (#62568) 2025-07-10 13:45:15 -07:00
main.js build: update cross-repo angular dependencies (#63396) 2025-08-27 16:14:31 -07:00
tsconfig.json ci: migrate node target version for deploy script to node20 (#61102) 2025-05-06 13:33:28 -07:00