1.3.0 • Published 3 years ago

open-browser-plugin v1.3.0

Weekly downloads
33
License
ISC
Repository
github
Last release
3 years ago

open-browser-plugin

A webpack plugin to solve the problem that webpack-dev-server can not automatically open the browser via node api

How to use

npm i --save-dev open-browser-plugin
// webpack.config.js
const OpenBrowserPlugin = reuire('open-browser-plugin')

const config = {
  plugins: [
    new OpenBrowserPlugin({
      port: 8080
    })
  ]
}

options

port

default 8080

host

default localhost

protocol

default http:

1.3.0

3 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago