angular-docgen-loader
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

[![tests][tests]][tests-url]

angular-docgen-loader

A loader that works in conjunction with Angular Docgen to load component definitions as a JSON object.

This repo is a direct fork of the webpack raw loader. Any setup relating to raw loader should also work for this loader.

Getting Started

$ npm install angular-docgen angular-docgen-loader --save-dev

Then add the loader to your webpack config. For example:

file.js

import ComponentDoc from '!angular-docgen-loader!./component.ts';

webpack.config.js

// webpack.config.js
module.exports = {
  rules: [
    {
      test: /!angular-docgen-loader!/,
      use: "angular-docgen-loader"
    }
  ]
};

Examples

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i angular-docgen-loader

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

6.38 kB

Total Files

8

Last publish

Collaborators

  • thatguynamedandy