enhanced-resolve
enhanced-resolve copied to clipboard
Offers an async require.resolve function. It's highly configurable.
We are using `enhanced-resolve` together with `jest` test runner, and noticed substantial memory leaks using this combo. Further inspection revealed that original FS errors are retaining references to sandbox environments...
Repro and research: https://github.com/Boshen/test-esm-exports-array Pasting the content here: # Resolving package.exports array target ## Background ESM can define an array as the exports target: ```json { "exports": { ".": [...
### Issue Right now, based on codebase, library supports only posix relative paths. ### Reproduction This is **correct** relative path in context of this library: ``` ../../../src ``` This is...
Repro and summary - https://github.com/Boshen/test-nested-exports Pasting the contents here: # Resolving to the incorrect package with webpack (enhanced-resolve) ## tldr; In a monorepo, ESM saves us from resolving to the...
## How to reproduce Here is a repository to demonstrate the issue https://github.com/zeckaissue/enhanced-resolve-pluginalias-watchmode run following commands ``` git clone https://github.com/zeckaissue/enhanced-resolve-pluginalias-watchmode cd enhanced-resolve-pluginalias-watchmode yarn install yarn serve ``` then delete src/components/fancy-theme/Hello.vue...
Bringing https://github.com/webpack/enhanced-resolve/pull/324 back to life. Since performance improvements seem to be worth it. Perhaps this time it'd be better to cut a major release to prevent sudden breakages? It's still...
```js new enhanced.CachedInputFileSystem(fs, Infinity) ``` I want to have a never-expire cache but infinity crashes with OOM
Hello, I came across the following code snippet in the project and had a question about its implementation: ```js if (key.charCodeAt(1) === slashCode) { throw new Error( `Imports field key...
Hi, We encountered an issue where `enhanced-resolver` doesn't handle the `exports` field in `package.json` if the `alias` is used. --- ### Steps to reproduce 1. NPM Install `enhanced-resolver` and `@brightspace-ui/lms-context-provider`...
Closes https://github.com/webpack/enhanced-resolve/issues/414