-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename module resolution option node
to node10
(preserving backward-compatible alias)
#51901
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3391,7 +3391,7 @@ | |
"category": "Error", | ||
"code": 2791 | ||
}, | ||
"Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?": { | ||
"Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also meant to leave some commentary on this change. This message was written when there were only two module resolution options, and only one worked with non-relative specifiers. Now that there’s |
||
"category": "Error", | ||
"code": 2792 | ||
}, | ||
|
@@ -4121,7 +4121,7 @@ | |
"category": "Error", | ||
"code": 5069 | ||
}, | ||
"Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.": { | ||
"Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'.": { | ||
"category": "Error", | ||
"code": 5070 | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now, this only filters the config parsing diagnostic that says what the valid options are (next changed lines in this file).