Skip to content

Commit b232441

Browse files
committed
v2.0.0; readme update
1 parent 440f6cb commit b232441

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Easily use BrowserSync in your Webpack project.
88
$ npm install --save-dev browser-sync-webpack-plugin
99
```
1010

11+
With release of 2.0.0 plugin is expected to be used in node v4+ environment.
12+
Support for node of v3 and lower was dropped, but you can install and use plugin version of 1.2.0 for old environments.
13+
1114
## Usage:
1215

1316
BrowserSync will start only when you run Webpack in [watch mode](http://webpack.github.io/docs/tutorials/getting-started/#watch-mode):
@@ -77,8 +80,11 @@ module.exports = {
7780
}
7881
```
7982

80-
Another plugin options supported are `name` - BrowserSync [instance name](http://www.browsersync.io/docs/api/#api-name)
81-
and `callback` - BrowserSync [instance init callback](http://www.browsersync.io/docs/api/#api-cb).
83+
Another plugin options supported are:
84+
85+
* `name` - BrowserSync [instance name](http://www.browsersync.io/docs/api/#api-name)
86+
* `callback` - BrowserSync [instance init callback](http://www.browsersync.io/docs/api/#api-cb).
87+
* `injectCss` - allows BrowserSync to inject changes inplace instead of reloading the page when changed chunks are all CSS files
8288

8389
## Contributing:
8490

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "browser-sync-webpack-plugin",
3-
"version": "1.2.0",
3+
"version": "2.0.0",
44
"description": "BrowserSync and Webpack integration",
55
"keywords": [
66
"webpack",
@@ -24,7 +24,7 @@
2424
"url": "https://github.com/Va1/browser-sync-webpack-plugin.git"
2525
},
2626
"homepage": "https://github.com/Va1/browser-sync-webpack-plugin",
27-
"author": "Valentyn Barmashyn <valpreacher@gmail.com>",
27+
"author": "Valentyn Barmashyn <barmashyn.val@gmail.com>",
2828
"license": "MIT",
2929
"private": false
3030
}

0 commit comments

Comments
 (0)