/typedoc-loader

A Webpack loader that emits TypeDoc JSON from TypeScript input.

Primary LanguageJavaScript

typedoc-loader

A Webpack loader that converts TypeScript to TypeDoc JSON.

Usage

module: {
  rules: [{
    test: /\.md$/,
    use: {
      loader: 'typedoc-loader',
      options: {
        // All options are passed to typedoc, except `mode` which is always `file`,
        // and `json` which is always `true`.
        // https://github.com/TypeStrong/typedoc#arguments
      }
    }
  }]
}

See additional documentation on using loaders.

Testing & contributing

Tests are run with Jest:

npm install
npm test

Contributions are welcome! New features or bug fixes must include tests. Try to match existing code style, or better yet, add ESLint or Prettier to this project.