esdoc-webpack-plugin

1.0.3 • Public • Published

esdoc-webpack-plugin

Downloads npm dependents

Run ESDoc with Webpack!

Installation

npm install --save-dev esdoc-webpack-plugin

Configuration

esdoc-webpack-plugin has a handful of configuration options for itself, and also accepts options to pass directly to ESDoc itself, though it will try to read your configuration file if you've got one and fill in any gaps.

// webpack.config.js
const ESDocPlugin = require('esdoc-webpack-plugin');

// ...

plugins: [
    new ESDocPlugin({
        cwd: '.'
        showOutput: false,
        source: './src',
        destination: './docs',
    })
]

// ...

Options

Option Type Purpose
conf string The configuration filename to look for.
cwd string Where to start looking for the ESDoc executable.
preserveTmpFile boolean The plugin creates a temporary file to use for configuration during ESDoc runtime based on options from Webpack and your config. Set this to true if you want to keep it around.
showOutput boolean Prints ESDoc output if true.

Readme

Keywords

Package Sidebar

Install

npm i esdoc-webpack-plugin

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

14.8 MB

Total Files

61

Last publish

Collaborators

  • cyoung