Skip to content

Commit 9790ee6

Browse files
authored
Update docs/rules/file-extension-in-import.md
1 parent b8b563d commit 9790ee6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/rules/file-extension-in-import.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import foo from "./path/to/a/file" // maybe it's resolved to 'file.js' or 'file.
1111
export * from "./path/to/a/file"
1212
```
1313

14-
However, when using [`--experimental-modules`](https://medium.com/@nodejs/announcing-a-new-experimental-modules-1be8d2d6c2ff), file extensions are required.
1514

1615
We can also import a variety of file types with bundlers such as Webpack. In this situation, explicit file extensions can help to identify the type of file being imported.
1716

0 commit comments

Comments
 (0)