@juexro/open-browser-webpack-plugin

1.0.2 • Public • Published

open-browser-webpack-plugin

Based on webpack4. Auto open browser after compilation has completed.

Usage

# install
yarn add @juexro/open-browser-webpack-plugin -D

webpack.config.js

const OpenBrowserPlugin = require('@juexro/open-browser-webpack-plugin')
webpack({
  entry: {...},
  output: {...},
  plugins: [
    ...,
    new OpenBrowserPlugin({
      url: ''
    })
  ]
})

Options

Name Type Description
url string
delay number
browser string

Change Log

v1.0.1 - 2018-9-29

v1.0.2 - 2018-9-29

  • fixed reopen browser

Package Sidebar

Install

npm i @juexro/open-browser-webpack-plugin

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

2.54 kB

Total Files

4

Last publish

Collaborators

  • juexro