We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517d3c3 commit e03ae72Copy full SHA for e03ae72
package.json
@@ -19,6 +19,7 @@
19
"lodash": "~2.4.1",
20
"lodash-node": "~2.4.1",
21
"minimist": "~1.1.0",
22
+ "object-assign": "~2.0.0",
23
"through2": "~0.6.3"
24
},
25
"devDependencies": {
src/jsonSass.js
@@ -2,14 +2,15 @@
2
3
import through from 'through2';
4
import jsToSassString from './jsToSassString';
5
+import assign from 'object-assign';
6
7
let DEFAULTS = {
8
prefix: '',
9
suffix: ';',
10
};
11
12
function jsonSass(options) {
- let options = Object.assign({}, DEFAULTS, options);
13
+ let options = assign({}, DEFAULTS, options);
14
15
return through(function(chunk, enc, callback) {
16
let jsValue = JSON.parse(chunk);
0 commit comments