0.0.5 • Published 7 years ago

asciidoctorindex-loader v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

asciidoctor loader for webpack

Installation

npm install asciidoctorindex-loader --save-dev

Usage

Documentation: Using loaders

var readme = require('asciidoctor!./README.adoc');
// => returns parsed file content

Example config

This webpack config can load asciidoctor files.

module.exports = {
  module: {
    loaders: [
      { test: /\.adoc$/, loader: "asciidoctor" }
    ]
  }
};

License

MIT (http://www.opensource.org/licenses/mit-license.php)