1.0.0 • Published 9 years ago
webpack-weinre v1.0.0
webpack-weinre
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 webpack-weinre
usage
var weinre = require('webpack-weinre');
weinre.run({
httpPort: 8000,
boundHost: 'localhost',
verbose: false,
debug: false,
readTimeout: 5
});
// ......
var webpackDevConfig = {
entry: {
index: [
'webpack-weinre/client?' + weinre.callbackUrl , // <--
'webpack/hot/only-dev-server',
'./index.js'
]
}
};
more
1.0.0
9 years ago