Skip to content

Not using webpack config to resolve #537

@stevenmusumeche

Description

@stevenmusumeche

My webpack config works and the modules are correctly resolved in my build process. However, ESLint is reporting import-no-unresolved errors for my packages, for example Unable to resolve path to module 'redux'

This occurs when I added the following config to my .eslintrc file:

"settings": {
    "import/resolver": {
        "webpack": {
            "config": "./webpack/prod.js"
        }
    }
},

(My webpack config is stored in ./webpack/prod.js)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions