Skip to content

Commit 476fad1

Browse files
chore(release): new release (#605)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Minor Changes - Allow the path-like resolve options `roots`, `modules`, `alias`/`fallback` targets, `restrictions`, and `tsconfig` (the config file, `configFile`, `baseUrl`, and `references`) to accept file `URL` instances (such as `new URL("./dir/", import.meta.url)`), converting them to filesystem paths. Plain strings are still treated as literal paths, matching Node's `fs`. (by [@alexander-akait](https://github.com/alexander-akait) in [#604](#604)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 03016f9 commit 476fad1

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎.changeset/file-url-path-options.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# enhanced-resolve
22

3+
## 5.23.0
4+
5+
### Minor Changes
6+
7+
- Allow the path-like resolve options `roots`, `modules`, `alias`/`fallback` targets, `restrictions`, and `tsconfig` (the config file, `configFile`, `baseUrl`, and `references`) to accept file `URL` instances (such as `new URL("./dir/", import.meta.url)`), converting them to filesystem paths. Plain strings are still treated as literal paths, matching Node's `fs`. (by [@alexander-akait](https://github.com/alexander-akait) in [#604](https://github.com/webpack/enhanced-resolve/pull/604))
8+
39
## 5.22.2
410

511
### Patch Changes

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enhanced-resolve",
3-
"version": "5.22.2",
3+
"version": "5.23.0",
44
"description": "Offers a async require.resolve function. It's highly configurable.",
55
"homepage": "http://github.com/webpack/enhanced-resolve",
66
"repository": {

0 commit comments

Comments
 (0)