mpvue global 修正
const mpvueVendorPlugin = require('webpack-mpvue-vendor-plugin')
// webpack config
{
entry: [],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'foo.bundle.js'
},
plugins: [
new mpvueVendorPlugin({
platform: process.env.PLATFORM
})
]
};
bug 或者交流建议等请反馈到 mpvue/issues。