Closed
Description
Hello,
To configure the webpack dev-server, I use the configureDevServerOptions method in the webpack.config.js file :
Encore.
.configureDevServerOptions((options) => {
options.server = {
type: "https",
options: {
key: ".....",
cert: "....."
},
};
options.host = "0.0.0.0";
options.port = "3000";
options.hot = true;
options.allowedHosts = "all";
})
......
The probleme is that in the generated entrypoints.json file, all urls start with http://localhost:8080/build/
.
The server configuration options are not used
If I use the cli params, urls in the entrpoints file are OK :
encore dev-server --host 0.0.0.0 --port 3000
# => urls in entrypoinys.json start with 'http://0.0.0.0:3000/'
Is this a bug or have i missing something ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels