import-js / import-js/eslint-plugin-import

v2.23 no longer works with `Promise`-based Webpack configuration

Open
#2,069 15 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted package: resolver/webpack
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Prior to v2.23, my `webpack.config` which returns a `Promise` worked fine, but now it causes the following errors (LOTS of them):

```
Webpack config returns a `Promise`; that signature is not supported at the moment. Using empty object instead.
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the handling of webpack.config files that return a Promise and reproduce the reported v2.23 error. Done means Promise-based Webpack configurations are accepted without the unsupported-signature warning and the resulting configuration is processed correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.