1.0.0 • Published 4 years ago

kaka-test-loader v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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'
    }),
]