esdoc-named-import-plugin
v0.0.0
Published
A named import plugin for ESDoc
Downloads
3
Maintainers
Readme
ESDoc Named Import Plugin
This plugin turns basic import statements used in the generated documentation for classes into named imports.
Before:
import ClassName from 'package-name/path-to-class-name/ClassName';
After:
import {ClassName} from 'package-name';
Install
npm install esdoc-named-import-plugin
or
yarn add esdoc-named-import-plugin
Config
{
"source": "./src",
"destination": "./doc",
"plugins": [
{
"name": "esdoc-named-import-plugin"
}
]
}