1.0.0 • Published 6 years ago
kaka-test-loader
Licence
ISC
Version
1.0.0
Deps
3
Size
1 kB
Vulns
2
Weekly
0
A loader basied on markdow-it to change to html from markdown
installion
npm install --save-dev webpack-loader
usage
const path = require('path'),
const HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = {
entry: './src/index.js'
},
module: {
rules: [
{
test: /\.md$/
use: kaka-test-loader
}
]
},
plugins: [
new HtmlWebpackPlugin({
filename: 'index.html'
}),
]