File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff 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
1316BrowserSync 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
Original file line number Diff line number Diff line change 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" ,
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}
You can’t perform that action at this time.
0 commit comments