Skip to content

Commit

Permalink
Aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Risse committed Apr 12, 2018
1 parent 8ca7693 commit d601185
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ var iconfontCss = require('gulp-iconfont-css');

var fontName = 'cryptocoins';

var aliases = {
BC: ['BLK'],
'BC-alt': ['BLK-alt'],
BCH: ['BCC'],
'BCH-alt': ['BCC-alt']
}


/* ------------------------------------ *\
Paths
Expand Down Expand Up @@ -51,7 +58,8 @@ gulp.task('webfont', function (cb) {
path: 'src/icons-template.css',
targetPath: 'cryptocoins.css',
fontPath: '',
cssClass: 'cc'
cssClass: 'cc',
aliases: aliases
}),
iconfont({
fontName: fontName,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"gulp": "^3.9.1",
"gulp-iconfont": "^8.0.1",
"gulp-iconfont-css": "^2.1.0",
"gulp-iconfont-css": "https://github.com/bradrisse/gulp-iconfont-css.git",
"gulp-svgmin": "^1.2.4",
"pump": "^1.0.2"
},
Expand Down

0 comments on commit d601185

Please sign in to comment.