tleunen / eslint-import-resolver-babel-module

Custom eslint resolve for babel-plugin-module-resolver
https://github.com/tleunen/babel-plugin-module-resolver
MIT License
248 stars 31 forks source link

Is alias resolver for node_modules based module supported #111

Open emhamzahazeen opened 4 years ago

emhamzahazeen commented 4 years ago

As an example form babel-plugin-module-resolver docs, give the following configs of babel-plugin-module-resolver: { "plugins": [ ["module-resolver", { "root": ["./src"], "alias": { "test": "./test", "_": "lodash" } }] ] }

The _ results in un-def error even if this plugin is used. Is this behaviour intended or this is a bug?