module.exports = { devServer: { server: { type: 'https', // You can also specify custom certificates if needed: // options: { // cert: '/path/to/cert.pem', // key: '/path/to/key.pem', // } } } };