Skip to content

Instantly share code, notes, and snippets.

@matt-bailey matt-bailey/aliases.js
Last active May 25, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.