Merge pull request #13338 from lsiric/feature/support-custom-certificate-for-webpack-dev-server

passing https.cert and https.key options to the webpack dev server
This commit is contained in:
Patrik Oldsberg
2022-09-01 18:25:44 +02:00
committed by GitHub
6 changed files with 46 additions and 2 deletions
+26
View File
@@ -248,6 +248,32 @@
"description": "The port that the frontend should be bound to. Only used for local development."
}
}
},
"https": {
"type": "object",
"description": "Only used for local development. The https object is passed to webpack in order to enable using https on localhost.",
"properties": {
"certificate": {
"type": "object",
"description": "Parent object containing certificate and the private key",
"required": [
"key",
"cert"
],
"properties": {
"key": {
"type": "string",
"visibility": "secret",
"description": "Https Certificate private key. Use $file to load in a file"
},
"cert": {
"type": "string",
"visibility": "secret",
"description": "Https Certificate. Use $file to load in a file"
}
}
}
}
}
}
}