Skip to content

Commit 5ec13d8

Browse files
authored
chore: remove extra colon (#2438)
1 parent f4998c0 commit 5ec13d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ export default ({ command, mode }) => {
170170
### resolve.mainFields
171171

172172
- **Type:** `string[]`
173-
- **Default:**: `['module', 'jsnext:main', 'jsnext']`
173+
- **Default:** `['module', 'jsnext:main', 'jsnext']`
174174

175175
List of fields in `package.json` to try when resolving a package's entry point. Note this takes lower precedence than conditional exports resolved from the `exports` field: if an entry point is successfully resolved from `exports`, the main field will be ignored.
176176

177177
### resolve.extensions
178178

179179
- **Type:** `string[]`
180-
- **Default:**: `['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json']`
180+
- **Default:** `['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json']`
181181

182182
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.
183183

0 commit comments

Comments
 (0)