react-docgen-loader
v2.9.1
Published
react-docgen loader for webpack
Downloads
10,664
Maintainers
Readme
react-docgen loader for webpack
This is a simplified version of the docgen-loader
, thanks to @eisisig.
Usage
npm install react-docgen-loader --save-dev
var docs = require("!!react-docgen!./HappySandwichMaker.js");
// => returns HappySandwichMaker.js documentation object if HappySandwichMaker definition is found
NOTE: use double !! to disable loaders specified in the webpack.config.js
file.
License
d MIT (http://www.opensource.org/licenses/mit-license.php)