Skip to content

Instantly share code, notes, and snippets.

@matt-bailey
Last active May 25, 2017 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-bailey/a6ed97fb6d40e94d28e819cb9665947d to your computer and use it in GitHub Desktop.
Save matt-bailey/a6ed97fb6d40e94d28e819cb9665947d to your computer and use it in GitHub Desktop.
Example aliases file for load-grunt-config in our Magento 2 setup
/* global module */
/* File location: dev/tools/grunt/configs/aliases.js */
/* Usage: https://github.com/firstandthird/load-grunt-config#aliases */
'use strict';
module.exports = {
default: [],
patternlib: {
description: 'Pattern library',
tasks: [
'clean:themePatternlib',
'bake:themePatternlib'
]
},
icons: {
description: 'Icons',
tasks: [
'clean:themeIconsBefore',
'svgmin:themeIcons',
'grunticon:themeIcons',
'clean:themeIconsAfter'
]
},
assets: {
description: 'Theme Assets',
tasks: [
'icons',
'modernizr:themeModernizr'
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment