Closed m-albo closed 7 years ago
For those interested, I finally fix my problem by using this configuration :
devServer: {
https: true,
headers: { 'Access-Control-Allow-Origin': '*' },
overlay: {
warnings: false,
errors: true
}
}
and by replacing
publicPath = DEV_SERVER ? 'http://localhost:8080/compiled/' : '/compiled/';
with
publicPath = DEV_SERVER ? '//localhost:8080/compiled/' : '/compiled/';
CORS headers were fixed with #62.
Additionally:
//
as you've suggested;webpack.config.js
to pass https: true
from config.yml
if needed.Thanks!
Hi,
SSL is needed for my project so i would like enable https with Webpack. But when i do that, HMR doesn't start (empty console).
My configuration
Any idea?