diff --git a/Gruntfile.js b/Gruntfile.js index 041ff2ac..fe62727d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,7 +18,6 @@ module.exports = function (grunt) { options: { replacements: [ - // convert all shadow mixins { // https://regex101.com/r/sJ2lH4/1 pattern: /.shadow-z-(\d+)((?:-hover)?) {/gi, @@ -46,15 +45,6 @@ module.exports = function (grunt) { order: 10 }, - - // .variations need quoted properties? - //{ // Multi-line replacement - https://regex101.com/r/nA6zX9/1 - // pattern: /@include variations\(unquote\(("([^"]+)?")\), (\w+(?:-\w+)?), ((?:\$|#)?\w+(?:-\w+)?)\);/gi, - // replacement: '@include variations(unquote($1), \"$3\", $4);\n', - // order: 19 - //}, - - // button variations mixin replacement(s) { // Multi-line replacement - https://regex101.com/r/qD9qB8/2 pattern: /.generic-variations\(unquote\(("[^"]+")\), (\$[\s\S]+?(?!\r|\n)), {$\n[\s\S]+?(?!\r|\n)contrast[\s\S]+?(?!\r|\n)(\d+)[\s\S]+?(?!\r|\n)}\);$\n/mg, @@ -389,7 +379,8 @@ module.exports = function (grunt) { grunt.registerTask("material", [ "material:less", - "material:js" + "material:js", + "material:sass" ]); grunt.registerTask("material:sass", [