UNPKG

249 BMarkdownView Raw
1# `mpx-webpack-plugin`
2
3> a webpack plugin for mpx compile
4
5## Usage
6
7```js
8const mpxWebpackPlugin = require('@mpxjs/webpack-plugin');
9
10// webpack.conf.js
11module.exports = {
12 plugins: [
13 new mpxWebpackPlugin({
14 mode: 'wx'
15 })
16 ],
17}
18```