Commit d6daed4
fix(ci): use relative path for babel preset in babel.config.js
Fix Cypress component tests failing with "Cannot find module '@instructure/ui-babel-preset'".
Issue: Cypress webpack dev server running from its cache directory can't resolve
pnpm workspace packages even with hoisted node linker.
Solution: Use relative path `./packages/ui-babel-preset` instead of package name
in babel.config.js require statement.
This allows babel to directly require the workspace package regardless of pnpm's
module resolution strategy.
Fixes: Cypress component tests and visual regression tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 680df6e commit d6daed4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments