Skip to content

joern-belonio/webpack-material-design-icons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-material-design-icons

Webpack Material Design Icons Font from Material Icons Guide - Setup Method 2. Self hosting

Install

npm install --save-dev webpack-material-design-icons

Usage

Just add webpack-material-design-icons to entry.vendors and handle the png, woff, ttf etc files in webpack.config.js

module.exports = {
    entry: {
        vendors: [
            "webpack-material-design-icons"
            ]
    },
    module: {
        loaders: [
        { test: /\.(jpe?g|png|gif|svg|eot|woff|ttf|svg|woff2)$/, loader: "file?name=[name].[ext]" }
        ]
    }
};

Of course you will need to configure how to handle CSS files as well.

TODO

  • Add working example.

About

Webpack Material Design Icons Font.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 95.5%
  • JavaScript 4.5%