weinre-webpack-plugin
v2.3.0
Published
weinre plugin for [webpack]
Downloads
37
Readme
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)
]
}