weexteam / vue-loader-for-apache-weex

vue-loader-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
MIT License
30 stars 27 forks source link

add compiler options feat #45

Closed ts0307 closed 2 years ago

ts0307 commented 5 years ago

usage is as follows:

{
  test: /\.vue(\?[^?]+)?$/,
  loader: 'weex-loader',
  options: {
    compilerOptions: {
      modules: [{
        transformNode: (el, options) => {},
        preTransformNode: (el, options) => {},
        postTransformNode: (el, options) => {}
        }
      ]  
    }
  }
}
erha19 commented 5 years ago

@balloonzzq