File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- const { extend } = require ( 'lodash' )
21const browserSync = require ( 'browser-sync' )
32const getCssOnlyEmittedAssetsNames = require ( './getCssOnlyEmittedAssetsNames' )
43
@@ -11,8 +10,8 @@ const defaultPluginOptions = {
1110
1211class BrowserSyncPlugin {
1312 constructor ( browserSyncOptions , pluginOptions ) {
14- this . browserSyncOptions = extend ( { } , browserSyncOptions )
15- this . options = extend ( { } , defaultPluginOptions , pluginOptions )
13+ this . browserSyncOptions = Object . assign ( { } , browserSyncOptions )
14+ this . options = Object . assign ( { } , defaultPluginOptions , pluginOptions )
1615
1716 this . browserSync = browserSync . create ( this . options . name )
1817 this . isWebpackWatching = false
Original file line number Diff line number Diff line change 11{
22 "name" : " browser-sync-webpack-plugin" ,
3- "version" : " 2.2.0 " ,
3+ "version" : " 2.2.1 " ,
44 "description" : " BrowserSync and Webpack integration" ,
55 "keywords" : [
66 " webpack" ,
You can’t perform that action at this time.
0 commit comments