Skip to content

Commit 06af1b3

Browse files
committed
Fix: bug with multiple groups when plugin is used with gulp watch
1 parent 0d589fd commit 06af1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = postcss.plugin('postcss-sprites', plugin);
6565
*/
6666
function plugin(opts) {
6767
// Extend default options.
68-
var options = lodash.merge(defaults, opts || {});
68+
var options = lodash.merge({}, defaults, opts || {});
6969

7070
// Prepare filterBy functions.
7171
setupFilterBy(options);

0 commit comments

Comments
 (0)