-
-
Save Phoen1x84/6538a6f6d068881d1a8d to your computer and use it in GitHub Desktop.
less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
// Less | |
main: { | |
options: { | |
sourceMap: true, | |
paths: ['<%= paths.cssSrc %>'] // scans for @import | |
}, | |
files: [{ | |
expand: true, // Enable dynamic expansion. | |
cwd: '<%= paths.cssSrc %>', // Src matches are relative to this path. | |
src: ['**/main.less'], // Actual pattern(s) to match. | |
dest: '<%= paths.cssDist %>', // Destination path prefix. | |
ext: '.css', // Dest filepaths will have this extension. | |
}], | |
}, | |
// Sitecore Webforms For Marketeers compilation | |
wffm: { | |
options: { | |
sourceMap: false, | |
paths: ['<%= paths.scModule %>'] | |
}, | |
files: { | |
'<%= paths.wffmDist %>/<%= paths.wffmCssFileName %>.css': '<%= paths.wffmSrc %>/_web-forms.less' | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment