From d6011859378c3c2aed0b684d419436a63ae2e0b4 Mon Sep 17 00:00:00 2001 From: Brad Risse Date: Thu, 12 Apr 2018 13:56:45 -0700 Subject: [PATCH] Aliases --- gulpfile.js | 10 +++++++++- package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 9cc4125..1d3bb50 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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 @@ -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, diff --git a/package.json b/package.json index 9ca1c6d..ee34255 100644 --- a/package.json +++ b/package.json @@ -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" },