4.0.0 • Published 2 years ago

@ephox/oxide-icons-tools v4.0.0

Weekly downloads
43
License
Apache-2.0
Repository
-
Last release
2 years ago

Various gulp plugins for Oxide icon packs

oxide-icon-packager

A very opinionated plugin which packages svgs in different formats and pipe them through with a predefined directory structure.

gulp.task('icon-packager', function () {
  return gulp.src('src/svg/*.svg')
    .pipe(iconPackager({
      // [Required] Name of the icon pack.
      name: 'default',

      // Logs a diff with @tinymce/oxide-icons-default. Requires that the module is made available.
      diffDefault: true,

      // Icons to ignore when producing a diff. Used in combination with "diffDefault"
      diffIgnore: ['accessibility-check'],

      // Override SVGO options (will be merged with default SVGO options). Use "svgo: false" to completely disable SVGO
      svgo: { floatPrecision: 2 }
    }))
    .pipe(gulp.dest('dist'));
});
4.0.0

2 years ago

3.1.1

2 years ago

3.0.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.2.1

4 years ago

2.2.2

4 years ago

2.2.0

5 years ago

2.1.1

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago