Releases: webpack/enhanced-resolve
Releases · webpack/enhanced-resolve
v5.0.0-beta.10
Bugfixes
- fix for
resolveToContextwithfullySpecified
v4.3.0
v5.0.0-beta.8
Features
- add
rootsoption
v5.0.0-beta.7
Features
- add fragment support
Bugfixes
- handle query and fragment correctly in
exportsfield lookup
v4.2.0
Features
- add
restrictionsoption- allow to specify strings or regexps that must be matched for a valid result
- when not matched, alternatives are tried (like alternative mainField, mainFile, parent node_modules, etc.)
- when passing a string result must be equal or inside of this folder
v5.0.0-beta.6
Features
- add
restrictionsoption, which allows to restrict the allowed paths to resolve too
Bugfixes
- add support for conditions in array for the
exportsfield
v5.0.0-beta.5
Features
- generate and publish type declaration file for typescript
exportsfield support- add
exportsFieldsoption - add
conditionNamesoption
- add
- self reference resolving when
exportsfield is present
Bugfixes
module/now correctly resolves to directory and not tomodule.jsas file- fix lisence field in package.json
Performance
- deduplicate duplicate entries in
aliasFields,descriptionFiles,extensions,modules,mainFieldsandmainFiles
Internals
- Options are normalized separatly
- improve handling of scoped packages
@scope/name
Contributing
- add a lot of type information
- Linting type information
- Linting formating
v5.0.0-beta.4
Bugfixes
- fix purging of readdir
v4.1.1
Bugfixes
- update memory-fs dependency for bugfixes: https://github.com/webpack/memory-fs/releases/tag/v0.5.0
v5.0.0-beta.3
Bugfixes
- PnP tracks dependency to the .pnp.js file