Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 601 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 601 Bytes

Foundation Icons needed an npm module. Why they don't have one is beyond me.

Usage

npm install foundation-icons

Install Webpack loader

npm install url-loader
npm install file-loader

Configure The WebPack Loaders

module.exports = {
  module: {
    loaders: [
      // the url-loader uses DataUrls.
      // the file-loader emits files.
      { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&mimetype=application/font-woff" },
      { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" }
    ]
  }
};