Webpack-HMR - HTTPS
See original GitHub issueWe can start webpack-dev-server in https mode by adding -https
but the files loading in always come from http
, is this because of webpack or something you’ve setup in mix?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Hot Module Replacement - webpack
Hot Module Replacement (or HMR) is one of the most useful features offered by webpack. It allows all kinds of modules to be...
Read more >How can I get hot reloading (HMR) running with Webpack 5?
I am using: webpack 5.7.0; webpack-cli 4.2.0; react 16.13; node 14.15.1; npm 6.14.8. I start ...
Read more >HMR not working with multiple entries · Issue #2792 - GitHub
Code. https://github.com/slightlyfaulty/webpack-hmr-multi-entry-repro. // webpack.config.js .
Read more >Hot Module Replacement - SurviveJS
HMR is possible with JavaScript too, but due to application state, it's harder. react-refresh-webpack-plugin and vue-hot-reload-api are good examples.
Read more >A Deep Dive into Hot Module Replacement with Webpack ...
git clone https://github.com/sis0k0/christmas-tree.git ... Therefore, the webpack-dev-server falls back to a full page reload.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yah this probably should be configurable, i can look at making a PR later this week
output is hard-coded here: https://github.com/JeffreyWay/laravel-mix/blob/master/src/Mix.js#L97
it’s used here: https://github.com/JeffreyWay/laravel-mix/blob/master/setup/webpack.config.js#L65
So I think you should be able to add this to L66 of webpack config file:
I’m not sure if that’s what’s causing your issue, but I think it might be.