1.0.3 • Published 2 years ago

markdown-loader-fj v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

A markdown loader for weboack using markdown-it

Installation

 npm install markdown-loader-fj -D

Usage

const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')


module.exports = {
	entry: {
		index: './src/js/index.js'
	},

	module: {
		rules: [
			{
				test: /\.md$/,
				use: [
				{
					loader: 'html-loader'
				},
				{
					loader: 'webpack-markdown-loader',
					options: {
                        html:true
                    }
				}],
			}

		]
	},

	plugins: [
		new HtmlWebpackPlugin({
      filename: 'index.html',
      template: './src/views/index.html',
      
		})

	]
}
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago