warn only and ignore plugins without entrypoints, default config via exports (#20284)

This commit is contained in:
Sebastian 2026-03-31 17:14:03 +02:00 committed by GitHub
commit 25a2b739e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 165 additions and 68 deletions

View file

@ -487,7 +487,7 @@ describe("plugin.loader.shared", () => {
.catch(() => false)
expect(called).toBe(false)
expect(errors.some((x) => x.includes('exports["./server"]') && x.includes("package.json main"))).toBe(true)
expect(errors).toHaveLength(0)
} finally {
install.mockRestore()
}