0.0.1 • Published 7 years ago
chordpro-loader v0.0.1
chordpro-loader
chordpro-loader for webpack using a fork of chordprojs.
Installation
yarn add chordpro-loader
Usage
This loader uses a fork of chordprojs to transform chordpro files into the JSON format:
{
"html": "..unstyled html..",
"parseResult": {}
}
Here is a default style to use with the generated html chordprojs.css
It's probably best served in conjunction with json-loader
Webpack 2
{
module: {
rules: [{
test: /\.(pro|cho|chordpro)$/,
use: [
{
loader: "json-loader"
},
{
loader: "chordpro-loader",
}
]
}]
}
}
License
0.0.1
7 years ago