Socket
Socket
Sign inDemoInstall

fannypack-svgsprite

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fannypack-svgsprite

Official Fannypack task for generating an Icon Font from SVG files.


Version published
Maintainers
1
Created
Source

fannypack-iconfont

Official Fannypack task for generating an Icon Font from SVG files.

Installation

npm install fannypack-iconfont --save-dev

Usage

// gulpfile.js

var Fannypack = require('fannypack')

require('fannypack-iconfont')

Fannypack.Config.svgSprite = {
  // Config.root.src + 'src' dir
  // Where to place your SVG files
  src: 'img/sprites',
  // Config.root.dest + 'dest' dir
  dest: 'assets/img',
  // Auto-run this task in dev mode?
  watchTask: true,
  assetTask: true,
  // File extensions to watch
  extensions: ['svg']
}

Fannypack.init()

SVG Files

All files should be the same size, and it is recommended that they be at least 250x250 pixels.

Keywords

FAQs

Package last updated on 12 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc