-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: move package.import content higher #35535
Conversation
Review requested:
|
5a5abee
to
1489bdc
Compare
|
||
Unlike the `"exports"` field, import maps permit mapping to external packages, | ||
providing an important use case for conditional loading scenarios. | ||
Import maps permit mapping to external packages. |
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.
Again, this is already included above.
Import maps permit mapping to external packages. |
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.
While this is duplicated content I was trying to keep the most important stuff available in the reference doc
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.
lgtm
I'm very confused about the linting error we are getting in CI. I can't reproduce locally and the line number I'm getting from the CI linter doesn't have any links in it (the error is link related) |
It seems to make sense to me . . . ? It’s erroring on this line: This field defines [subpath imports][] for the current package. And it appears we don’t have a |
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]>
0fa0509
to
f1c4999
Compare
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: #35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Landed in 8d8e06a |
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: #35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: #35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: #35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: #35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This is currently at the end of the doc, it likely should be found right after the documentation about `package.exports`. Refactored the docs while duplicating content as little as possible. Co-authored-by: Guy Bedford <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Rich Trott <[email protected]> Signed-off-by: Myles Borins <[email protected]> PR-URL: nodejs#35535 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This is currently at the end of the doc, it likely should be found
right after the documentation about
package.exports
. Refactored thedocs while duplicating content as little as possible.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes