Commit 314dfad
committed
fix(content-server): Add explicit webpack alias for @fxa/shared/sentry-utils
Because:
- Even with TsconfigPathsPlugin configured against tsconfig.base.json,
webpack in content-server was emitting webpackMissingModule for
@fxa/shared/sentry-utils — the one new path import from app-side code
(app/scripts/lib/sentry.js). This surfaced as a pageError at runtime
("Cannot find module '@fxa/shared/sentry-utils'") and broke the
app.bundle.js initialization path, causing the cookiesDisabled
Playwright test to hang waiting for the redirect to /cookies_disabled.
This commit:
- Adds a direct resolve.alias entry for @fxa/shared/sentry-utils pointing
at libs/shared/sentry-utils/src/index.ts, mirroring the existing
@fxa/vendored aliases.1 parent dae2972 commit 314dfad
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
0 commit comments