enhanced-resolve
enhanced-resolve copied to clipboard
Offers an async require.resolve function. It's highly configurable.
`enhanced-resolve` seems to be looking into the current project's `node_modules` and the parent directory's `node_modules`. My guess is this helps with mono repos. This occurs with Storybook `v6.3.7` when trying...
Fix per discussion in webpack #11668
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...
Can't resolve imports field. The file structure of project: ``` project/ ├── dist │ ├── a.mjs │ ├── b.mjs │ ├── c.mjs │ └── d.mjs ├── node_modules └── package.json ```...
**Describe the bug** When running under Yarn PnP `enhanced-resolve` will still use the `node_modules` resolution **To Reproduce** Setup: ```sh mkdir repro && cd repro yarn init -y yarn set version...
Hi. I have some class where I have to require other javascript files based on an alias I have implemented using the "multi path" alias method. Let's just take the...
When I tried Webpack 5 RC 0, I received the following error. It looks like this module may be the cause. ``` [email protected] [email protected] [email protected] ``` ``` C:\Projects\MyProject\node_modules\webpack\lib\NormalModuleFactory.js:251 throw new...
Here's what I have so far: ``` const path = require('path'); const fetch = require('node-fetch'); const url = require('url') const fs = require('promise-fs'); const sha1 = require('sha1') class HttpResolver {...
I have a custom resolver that depends on the `missing` property of an error object returned in the callback after attempting to resolve a path. This was done so that...