Skip to content

Commit

Permalink
chore: remove extra colon (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Mar 9, 2021
1 parent f4998c0 commit 5ec13d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ export default ({ command, mode }) => {
### resolve.mainFields

- **Type:** `string[]`
- **Default:**: `['module', 'jsnext:main', 'jsnext']`
- **Default:** `['module', 'jsnext:main', 'jsnext']`

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.

### resolve.extensions

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

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.

Expand Down

0 comments on commit 5ec13d8

Please sign in to comment.