webpack-mpvue-plugin

mpvue 资源路径解析插件

使用示例:

  1. const MpvuePlugin = require('webpack-mpvue-asset-plugin')
  2. // webpack config
  3. {
  4. entry: [],
  5. output: {
  6. path: path.resolve(__dirname, 'dist'),
  7. filename: 'foo.bundle.js'
  8. },
  9. plugins: [
  10. new MpvuePlugin()
  11. ]
  12. };