Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(config) document Rule.resolve #3199

Merged
merged 2 commits into from
Jul 17, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/content/configuration/module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,27 @@ module.exports = {

See [UseEntry](#useentry) for details.

## `Rule.resolve`

Resolving can be configured on module level. For options see [resolve configuration page](/configuration/resolve/#resolve). All applied resolve options are merged.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All applied resolve options are merged.

What does this mean? Merged where?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With configuration resolve (high level)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous link in text for reference

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hope the new version is more accessible


__webpack.js.org__

```javascript
module.exports = {
//...
module: {
rules: [
{
resolve: {
extensions: ['.jsx']
}
}
]
}
};
```


## `Condition`

Expand Down