0.0.5 • Published 7 years ago
asciidoctorindex-loader v0.0.5
asciidoctor loader for webpack
Installation
npm install asciidoctorindex-loader --save-dev
Usage
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" }
]
}
};