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