File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/docusaurus/docs/advanced/03-pnp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ RESOLVE_TO_UNQUALIFIED(specifier, parentURL)
201
201
202
202
12 . Otherwise, if ` referenceOrAlias ` is an array, then
203
203
204
- 1 . Let ` alias ` be ` referenceOrAlias `
204
+ 1 . Let ` alias ` be ` {ident: referenceOrAlias[0], reference: referenceOrAlias[1]} `
205
205
206
206
2 . Let ` dependencyPkg ` be [ ` GET_PACKAGE ` ] ( #get_package ) ` (manifest, alias) `
207
207
@@ -261,7 +261,7 @@ The algorithm described here is quite inefficient. You should make sure to prepa
261
261
262
262
1 . If ` registryPkg.packageLocation.length ` is greater than ` bestLength ` , then
263
263
264
- 1 . If ` relativeUrl ` starts with ` registryPkg.packageLocation ` , then
264
+ 1 . If ` relativeUrlWithDot ` starts with ` registryPkg.packageLocation ` , then
265
265
266
266
1 . Set ` bestLength ` to ` registryPkg.packageLocation.length `
267
267
You can’t perform that action at this time.
0 commit comments