webpack.js.org
webpack.js.org copied to clipboard
Mistake on Package exports documentation page
On https://webpack.js.org/guides/package-exports/ an example is listed for package/other-prefix/deep/file.js
supposed to resolve to .../package/yet-another/deep/file/deep/file.js
using the "./other-prefix/*": "./yet-another/*/*.js"
.
This appears to be incorrect (at least enhanced-resolve
fails to resolve this example) or there is some abiguity here that should be cleared up. I don't know what the exact rules for this are but does it ever strip extensions?
I guess the example is meant to be package/other-prefix/deep/file
so just without the extension?