diff options
author | codecalm <codecalm@gmail.com> | 2022-04-16 14:09:10 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2022-04-16 14:09:10 +0200 |
commit | fafb43210eaf29621b147caf1822e60acb444089 (patch) | |
tree | b7dfef97c70aa7ed67bd89147641491d9f1c20eb /gulpfile.js | |
parent | add unicode to icons (diff) | |
parent | Release 1.64.0 (diff) | |
download | tabler-icons-fafb43210eaf29621b147caf1822e60acb444089.tar.xz |
Merge branch 'master' of https://github.com/tabler/tabler-icons into v2.0
Conflicts:
.gitignore
package.json
src/_icons/cell-signal-1.svg
src/_icons/cell-signal-2.svg
src/_icons/cell-signal-3.svg
src/_icons/cell-signal-4.svg
src/_icons/cell-signal-5.svg
src/_icons/cell-signal-off.svg
src/_icons/rainbow.svg
src/tags.json
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 65a847a9..d86a965d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,7 +52,7 @@ if (fs.existsSync('./compile-options.json')) { } }) } - + if (typeof tempOptions.excludeIcons !== "undefined") { if (!Array.isArray(tempOptions.excludeIcons)) { throw "property excludeIcons is not an array" @@ -62,6 +62,13 @@ if (fs.existsSync('./compile-options.json')) { }) } + if (typeof tempOptions.excludeOffIcons !== "undefined" && tempOptions.excludeOffIcons) { + // Exclude `*-off` icons + compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) { + return !icon.endsWith('-off'); + }) + } + if (typeof tempOptions.strokeWidth !== "undefined") { if (typeof tempOptions.strokeWidth !== "string" && typeof tempOptions.strokeWidth !== "number") { throw "property strokeWidth is not a string or number" |