Skip to content

houfeng0923/weinre-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

integrated weinre for webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published