1.2.2 • Published 3 years ago

@vanilla-jsx/mdx-loader v1.2.2

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

vanilla-jsx/mdx-loader

install and config

npm i @vanilla-jsx/mdx-loader

and edit webpack.config.js:

const path = require('path');

module.exports = {
    module: {
        rules: [
            {
                test: /.mdx?$/,
                use: [
                    'babel-loader',
                    '@vanilla-jsx/mdx-loader'
                ]
            }
        ]
    }
}

then, coding with mdx.

1.2.2

3 years ago

1.2.1

4 years ago