webpack / webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
https://webpack.js.org
MIT License
64.3k stars 8.73k forks source link

feat: support `"..."` in resolve importsFields #18351

Closed ahabhgk closed 1 month ago

ahabhgk commented 1 month ago

What kind of change does this PR introduce?

feat or fix, before using importsFields: ["custom", "..."] won't work, since there isn't a default value for importsFields

Did you add tests for your changes?

added

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

mention supports "..." in resolve importsFields (if needed)

webpack-bot commented 1 month ago

For maintainers only: