httpolyglot-webpack-server
Using httpolyglot to serve http/https over the same port for Webpack development server
Caution
This is a fork of webpack-httpolyglot-server
Installation
$ npm i --save-dev webpack-httpolyglot-server
Usage
Node
var createWebpackServer = ; const server = ;
The config
can be Array, it can use multiple config.
Configuration
output.publicPath
Use //
as a prefix instead of http://
or https://
, but if you're making chrome extension (prefix: chrome-extension://
), it's not applicable.
webpack-hot-middleware
entry
This tool used webpack-hot-middleware
for enable hot module replacement.
devMiddleware
Apply webpack-dev-middleware options.
hotMiddleware
Apply webpack-hot-middleware options.
Credits
- The SSL keys is copied from webpack-dev-server.