import-js/eslint-plugin-import

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

Open

#2,069 opened on May 14, 2021

View on GitHub
 (15 comments) (0 reactions) (0 assignees)JavaScript (4,946 stars) (1,540 forks)batch import
enhancementhelp wantedpackage: resolver/webpack

Description

Prior to v2.23, my webpack.config which returns a Promise<WebpackConfig[]> 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