How to run Webpack Dev Server --https --hot --inline

后端 未结 3 1374
时光说笑
时光说笑 2021-02-09 00:00

Is there a way to leverage running the webpack-dev-server on https when configuring using CLI?

The problem is the connection to socket.io is

3条回答
  •  鱼传尺愫
    2021-02-09 00:49

    I think you might add this line to the entry point to also create a secure socket connection:

    "dev-server": "webpack-dev-server/client?https://localhost:8080/",
    

提交回复
热议问题