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

fix: allow conditions in directory mapping #2

Merged
merged 2 commits into from
Jan 11, 2021
Merged

Conversation

lukeed
Copy link
Owner

@lukeed lukeed commented Jan 11, 2021

Closes #1

@lukeed lukeed merged commit a881ef8 into master Jan 11, 2021
@lukeed lukeed deleted the fix/directory-condtions branch January 11, 2021 19:03
github-actions bot pushed a commit to okikio/resolve.imports that referenced this pull request Jan 1, 2023
# 1.0.0 (2023-01-01)

### Bug Fixes

* allow conditions in directory mapping ([lukeed#2](https://github.com/okikio/resolve.imports/issues/2)) ([a881ef8](a881ef8)), closes [lukeed#1](https://github.com/okikio/resolve.imports/issues/1)
* check subpattern length correctly; ([81ae07a](81ae07a)), closes [lukeed#4](https://github.com/okikio/resolve.imports/issues/4)
* consolidate `Set` initializer ([9daed2a](9daed2a))
* ignore "import" condition when `requires` enabled ([dcff185](dcff185))
* tests ([567fde6](567fde6))
* tests ([758b7b5](758b7b5))
* throw "no conditions" error ([0fe321b](0fe321b))

### Features

* add `legacy` method for non-exports fields ([ce7ca85](ce7ca85))
* add `unsafe` option ([lukeed#13](https://github.com/okikio/resolve.imports/issues/13)) ([0b69d12](0b69d12))
* directory/subpath mapping; ([9e66106](9e66106))
* handle "browser" files object ([a1374ea](a1374ea))
* support mixed path/conditions (array) ([f74e3c5](f74e3c5))
* **types:** allow `readonly` and `const` arrays in options ([lukeed#15](https://github.com/okikio/resolve.imports/issues/15)) ([587b0ba](587b0ba))
github-actions bot pushed a commit to okikio/resolve.imports that referenced this pull request Jan 1, 2023
# 1.0.0 (2023-01-01)

### Bug Fixes

* allow conditions in directory mapping ([lukeed#2](https://github.com/okikio/resolve.imports/issues/2)) ([a881ef8](a881ef8)), closes [lukeed#1](https://github.com/okikio/resolve.imports/issues/1)
* check subpattern length correctly; ([81ae07a](81ae07a)), closes [lukeed#4](https://github.com/okikio/resolve.imports/issues/4)
* consolidate `Set` initializer ([9daed2a](9daed2a))
* forgot to make pkg public ([3fa0663](3fa0663))
* ignore "import" condition when `requires` enabled ([dcff185](dcff185))
* tests ([567fde6](567fde6))
* tests ([758b7b5](758b7b5))
* throw "no conditions" error ([0fe321b](0fe321b))

### Features

* add `legacy` method for non-exports fields ([ce7ca85](ce7ca85))
* add `unsafe` option ([lukeed#13](https://github.com/okikio/resolve.imports/issues/13)) ([0b69d12](0b69d12))
* directory/subpath mapping; ([9e66106](9e66106))
* fork resolve.exports into resolve.imports for resolving subpath imports ([bd505cd](bd505cd))
* generate changelog ([bc66266](bc66266))
* handle "browser" files object ([a1374ea](a1374ea))
* support mixed path/conditions (array) ([f74e3c5](f74e3c5))
* **types:** allow `readonly` and `const` arrays in options ([lukeed#15](https://github.com/okikio/resolve.imports/issues/15)) ([587b0ba](587b0ba))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should subpath mapping/pattern support conditions?
1 participant