Skip to content

Commit edb6adf

Browse files
committed
Corrected list item numbers
1 parent 0c2afbf commit edb6adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/concepts/module-resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import "C:\\Users\\me\\file";
3333

3434
Since we already have the absolute path to the file, no further resolution is required.
3535

36-
### Relative paths
36+
### 2. Relative paths
3737

3838
```js
3939
import "../src/file1";
@@ -42,7 +42,7 @@ import "./file2";
4242

4343
In this case, the directory of the resource file where the `import` or `require` occurs is taken to be the context directory. The relative path specified in the `import/require` is joined to this context path to produce the absolute path to the module.
4444

45-
### Module paths
45+
### 3. Module paths
4646

4747
```js
4848
import "module";

0 commit comments

Comments
 (0)