Steps to reproduce Run npx playwright test Raises import error Error: Cannot find package '~' imported from /Users/nick/Documents/Code/playwright-repro/tests/index.spec.ts Notes This error only occurs when importing a file like ~/package/index.ts as ~/package.