UNPKG

babel-plugin-show-source

Version:

Explicit Function.prototype.toString() via Babel

10 lines (9 loc) 321 B
import { ConfigAPI, PluginObj } from '@babel/core'; interface Options { removeDirective: boolean; directive: string; property: string; removeFunction: boolean; } declare function babelPluginShowSource(api: ConfigAPI, _options?: Partial<Options>): Partial<PluginObj>; export default babelPluginShowSource;