Skip to content

Commit

Permalink
Improve description in config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 20, 2020
1 parent a925e6a commit 5c9c601
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion declarations/WebpackOptions.d.ts
Expand Up @@ -710,7 +710,7 @@ export interface ResolveOptions {
[k: string]: any;
};
/**
* A list of root paths.
* A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.
*/
roots?: string[];
/**
Expand Down
4 changes: 2 additions & 2 deletions schemas/WebpackOptions.json
Expand Up @@ -1230,10 +1230,10 @@
"description": "Custom resolver"
},
"roots": {
"description": "A list of root paths.",
"description": "A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.",
"type": "array",
"items": {
"description": "Root path.",
"description": "Directory in which requests that are server-relative URLs (starting with '/') are resolved.",
"type": "string"
}
},
Expand Down

0 comments on commit 5c9c601

Please sign in to comment.