$ cnpm install jsdoc-webpack-plugin
WebPack plugin that runs jsdoc on your bundles
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.js',
cwd: '.',
preserveTmpFile: false,
recursive: false
})
]
}
There are two ways how this plugin recognizes the files
Copyright 2013 - present © cnpmjs.org | Home |