evil-icons-loader
v0.0.2
Published
Evil-icons loader for ebpack
Downloads
206
Maintainers
Readme
evil-icons-loader
An Evil-icons loader for webpack.
Install
npm install evil-icons-loader --save-dev
Usage
With jade-loader
module: {
loaders: [{
test: /\.css/,
loader: 'evil-icons-loader!jade-loader'
}]
}
With ejs-loader
module: {
loaders: [{
test: /\.css/,
loader: 'ejs-loader!evil-icons-loader'
}]
}
Options
className
Specify a icon class.
module: {
loaders: [{
test: /\.css/,
loader: 'evil-icons?className=myClass!jade'
}]
}
License
Licensed under the MIT license.