Skip to content

Releases: webpack/enhanced-resolve

v5.0.0-beta.5

22 May 20:09
Compare
Choose a tag to compare
v5.0.0-beta.5 Pre-release
Pre-release

Features

  • generate and publish type declaration file for typescript
  • exports field support
    • add exportsFields option
    • add conditionNames option
  • self reference resolving when exports field is present

Bugfixes

  • module/ now correctly resolves to directory and not to module.js as file
  • fix lisence field in package.json

Performance

  • deduplicate duplicate entries in aliasFields, descriptionFiles, extensions, modules, mainFields and mainFiles

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

05 Nov 22:00
Compare
Choose a tag to compare
v5.0.0-beta.4 Pre-release
Pre-release

Bugfixes

  • fix purging of readdir

v4.1.1

08 Oct 12:35
Compare
Choose a tag to compare

Bugfixes

v5.0.0-beta.3

16 Aug 09:43
Compare
Choose a tag to compare
v5.0.0-beta.3 Pre-release
Pre-release

Bugfixes

  • PnP tracks dependency to the .pnp.js file

v5.0.0-beta.2

09 Jul 16:36
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

Dependencies

  • tapable update

v5.0.0-beta.1

08 Jul 14:21
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

Features

  • add support for alias: { something: false }

v5.0.0-beta.0

04 Jul 20:52
Compare
Choose a tag to compare
v5.0.0-beta.0 Pre-release
Pre-release

Bugfixes

  • fixes lowercase file letters
  • fixes "main": "." crash

Features

  • increase minimal node.js version
  • update dependencies
  • remove memory-fs dependency
  • real fs is usable, no join expected from filesystem
  • track dependencies while resolving
  • add support for arrays in alias
  • add support for Yarn PnP

Removals

  • remove concord
  • remove deprecated tapable compat layer
  • remove .context and .loader from node API
  • remove NodeJsInputFileSystem

Contribution

  • refactor join and normalize to use node.js path instead of memory-fs
  • linting update
  • code style update (spread operator, let/const, arrow functions)

Performance

  • optimize number of fs accesses
  • serialize all operations to reduce number of fs accesses

v4.1.0

28 Jun 12:49
Compare
Choose a tag to compare

Features

  • drop min node.js version to 6.9.0
  • better deprecation messages

Bugfixes

  • fix bug with symlinks on windows when mapping to other drive
  • fix default values in README
  • fix code samples in README
  • fix alias for absolute paths
  • fix crash when main field is ./

v3.4.1

24 Jul 16:49
Compare
Choose a tag to compare

Bugfixes:

  • fix problem with undefined path in cache

v3.4.0

24 Jul 08:03
Compare
Choose a tag to compare

Features:

  • Performance
    • Use Map and Set instead of Arrays
    • avoid creating unneeded arrays
    • run plugin in series instead of parallel (to avoid unnecessary I/O)
    • check if plugins are registered before creating callback function