-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add case for unrecognised fields within pjson "exports"
PR-URL: #57026 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information
1 parent
6cdee54
commit a588066
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
10 changes: 10 additions & 0 deletions
10
test/fixtures/packages/unrecognised-export-keys/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "pkg-with-unrecognised-export-keys", | ||
"exports": { | ||
".": { | ||
"default": "./index.js", | ||
"FtLcAG": "./whatever.ext", | ||
"types": "./index.d.ts" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters