Skip to content

Commit 3850d49

Browse files
authored
docs: update shared-options.md (#11649)
1 parent d9323aa commit 3850d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/shared-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ In future, `resolve.mainFields`'s default value will be `['browser', 'module', '
171171
## resolve.extensions
172172

173173
- **Type:** `string[]`
174-
- **Default:** `['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json']`
174+
- **Default:** `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
175175

176176
List of file extensions to try for imports that omit extensions. Note it is **NOT** recommended to omit extensions for custom import types (e.g. `.vue`) since it can interfere with IDE and type support.
177177

0 commit comments

Comments
 (0)