npm.io
0.0.2 • Published 7 years ago

@keep2zero/jsdoc-webpack-plugin

Licence
MIT
Version
0.0.2
Deps
3
Size
6 kB
Vulns
0
Weekly
0
Stars
17

jsdoc-webpack-plugin

WebPack plugin that runs jsdoc on your bundles

Usage

In webpack.config.js:

var webpack = require('webpack');
var JsDocPlugin = require('jsdoc-webpack-plugin');

module.exports = {
    /// ... rest of config
    plugins: [
        new JsDocPlugin({
            conf: './jsdoc.conf'
        })
    ]
}

There are two ways how this plugin recognizes the files

  1. It takes the information from the jsdoc config file "source.include"
  2. If no "source.include" provided, it takes the whole files from your bundles

Keywords