This is a plugin to convert import path inside the AST for using ESDoc with alias.
Tested only with babel-plugin-module-alias for the moment.
Would work with other systems, like webpack resolve.alias.
For example, using babel-plugin-module-alias like that:
{
"presets":["es2015","stage-1"],
"plugins":[
["module-alias",[
{"src":"./src/app","expose":"app"},
{"src":"./src/core","expose":"core"},
{"src":"./src/locales","expose":"locales"},
{"src":"./src/app/assets","expose":"assets"},
]]
]
}
Can be resolve with esdoc-alias-plugin with this configuration: