weinre-webpack-plugin

2.3.0 • Public • Published

weinre-webpack-plugin

THIS SERVER SHOULD BE USED FOR DEVELOPMENT ONLY!

DO NOT USE IT IN PRODUCTION!

It's the integrated weinre for webpack.

install

npm install --save-dev weinre-webpack-plugin

usage

// webpack.config.js
+ const WeinreWebpackPlugin = require('weinre-webpack-plugin');
+ // default options for weinre
+ const opts = {
+   // httpPort: 8000,
+   // boundHost: '0.0.0.0',
+   verbose: false,
+   debug: false,
+   readTimeout: 5,
+ };
module.exports = {
  // ...
  plugins: [
+  new WeinreWebpackPlugin(opts)
  ]
}
 

more

Readme

Keywords

Package Sidebar

Install

npm i weinre-webpack-plugin

Weekly Downloads

4

Version

2.3.0

License

MIT

Unpacked Size

5.37 MB

Total Files

463

Last publish

Collaborators

  • houfeng