THIS SERVER SHOULD BE USED FOR DEVELOPMENT ONLY!
DO NOT USE IT IN PRODUCTION!
It's the integrated weinre for webpack.
npm install --save-dev weinre-webpack-plugin
// 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)
]
}