3.11.4 • Published 4 years ago

webpack-dev-server-http2 v3.11.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

webpack-dev-server-http2

Fork from webpack-dev-server to enable https/http2 on node v10+

Installation

Install the dependency

$ yarn add webpack-dev-server-http2

or

$ npm install webpack-dev-server-http2

Enable https: true on your webpack.config.js

  devServer: {
    inline: true,
    contentBase: "./public",
    port: 3333,
    https: true
  },

Start your server with admin permissions

sudo yarn webpack-dev-server