gulp-json-sass
gulp-json-sass copied to clipboard
Add new option to prefix without numbers.
I found that JSON.parse creates a numeric index when parsing a JSON document (due to array). This makes its way into the output. To suppress this, I added a minor modification -- a new option prefixNoNumbers
which is true
by default, so a number will not prepend generated sass variables. Use opt.prefixNoNumbers: false
to keep the number in the prefix.