Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geyang/react-docgen-loader
a small webpack loader that generates react component metaData using react-docgen
https://github.com/geyang/react-docgen-loader
Last synced: about 2 months ago
JSON representation
a small webpack loader that generates react component metaData using react-docgen
- Host: GitHub
- URL: https://github.com/geyang/react-docgen-loader
- Owner: geyang
- Created: 2016-06-24T21:45:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T22:08:25.000Z (over 5 years ago)
- Last Synced: 2024-10-29T04:42:17.747Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-docgen loader for webpack
This is a simplified version of the `docgen-loader`, thanks to @eisisig.
## Usage
```shell
npm install react-docgen-loader --save-dev
`````` javascript
var docs = require("!!react-docgen-loader!./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)