@comp/md-loader

Webpack loader for @comp/md

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@comp/md-loader
Minified + gzip package size for @comp/md-loader in KB

Readme

@comp/md-loader

Webpack loader for @comp/md

npm i @comp/md-loader
// webpack.config.js
{
  module: {
    rules: [
      {
        test: /\.md$/,
        use: [
          'babel-loader',
          '@comp/md-loader'
        ]
      }
    ]
  }
}
import React from 'react'
import Hello from './hello.md'

export default () => (
  <Hello />
)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.