warn only and ignore plugins without entrypoints, default config via exports (#20284)
This commit is contained in:
parent
85c16926c4
commit
25a2b739e6
14 changed files with 165 additions and 68 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue