Skip to content

test: Import login package to be compatible with TS6#24017

Draft
Artur- wants to merge 1 commit intomainfrom
fix-login-import
Draft

test: Import login package to be compatible with TS6#24017
Artur- wants to merge 1 commit intomainfrom
fix-login-import

Conversation

@Artur-
Copy link
Member

@Artur- Artur- commented Mar 26, 2026

TypeScript 6 with moduleResolution "bundler" cannot resolve subpath imports like @vaadin/vaadin-login/vaadin-login-overlay when the package lacks an exports map in its package.json. Use the main entry point @vaadin/login instead, which resolves correctly via the package's main and types fields.

TypeScript 6 with moduleResolution "bundler" cannot resolve subpath
imports like `@vaadin/vaadin-login/vaadin-login-overlay` when the
package lacks an `exports` map in its package.json. Use the main entry
point `@vaadin/login` instead, which resolves correctly via the
package's `main` and `types` fields.
@sonarqubecloud
Copy link

@github-actions
Copy link

Test Results

 1 386 files  ±0   1 386 suites  ±0   1h 25m 36s ⏱️ - 3m 30s
 9 927 tests ±0   9 856 ✅ ±0  71 💤 ±0  0 ❌ ±0 
10 400 runs  ±0  10 320 ✅ ±0  80 💤 ±0  0 ❌ ±0 

Results for commit a494011. ± Comparison against base commit e24c71c.

@Artur- Artur- marked this pull request as draft March 26, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant