1.0.0 • Published 4 years ago
kaka-test-loader v1.0.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'
}),
]
1.0.0
4 years ago