import-js/eslint-plugin-import
Voir sur GitHubwebpackExports: ["namedExport"] is not supported for dynamic imports
Open
#2 306 ouverte le 18 nov. 2021
enhancementhelp wanted
Métriques du dépôt
- Stars
- (4 946 stars)
- Métriques de merge PR
- (Merge moyen 138j 22h) (3 PRs mergées en 30 j)
Description
Webpack 5 has some new magic comments allowing better tree-shaking. https://webpack.js.org/api/module-methods/#magic-comments
Currently, if a comment in the form /* webpackExports: ["namedExport"] */ is added to a dynamic import, eslint shows an error when checking with the import/dynamic-import-chunkname rule.