We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
My webpack.config.js
const path = require('path'); module.exports = { entry: [ 'webpack-dev-server/client?https://my.address.com/', 'webpack/hot/only-dev-server', './index.js', ], output: { filename: "build.js", path: path.join(__dirname, 'static'), }, devServer: { contentBase: path.join(__dirname, 'static'), proxy: { '**': { target: 'https://my.addres.com/t/', secure: false } } } }
I work with reversed ssh tunnel like
ssh -v -N -R :9010:localhost:8080 my.address.com
and standard command to run webpack-dev-server npm run: webpack-dev-server
npm run: webpack-dev-server
The problem is that I have two initialised WS connections.
First invalid because in my build.js file I found
build.js
/* WEBPACK VAR INJECTION */}.call(exports, "?http://localhost:8080"))
and second (correct), pointing to https://my.address.com/.
https://my.address.com/
WS connection should established only once for address I provided.
Webpack: 2.1.0-beta.27 Webpack dev server: 2.1.0-beta.12
2.1.0-beta.27
2.1.0-beta.12
The text was updated successfully, but these errors were encountered:
When you're using the CLI, it will automatically add "webpack-dev-server/client" for you.
"webpack-dev-server/client"
You can do two things:
entry
webpack-dev-server --public=my.address.com
--no-inline
Sorry, something went wrong.
Thank you!
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Hi!
My webpack.config.js
I work with reversed ssh tunnel like
and standard command to run webpack-dev-server
npm run: webpack-dev-server
The problem is that I have two initialised WS connections.
First invalid because in my
build.js
file I foundand second (correct), pointing to
https://my.address.com/
.WS connection should established only once for address I provided.
Webpack:
2.1.0-beta.27
Webpack dev server:
2.1.0-beta.12
The text was updated successfully, but these errors were encountered: