postcss-webfont を公開しました
By kkoudev
PostCSSのプラグインである postcss-webfont を作成しましたので、公開しました。
https://www.npmjs.com/package/postcss-webfont
どのようなプラグインなのかというと、
CSSにfont-faceのルールセットを一定のルールに従って記述しておくことで、アイコンフォントの自動生成と、アイコンごとに対応するCSSのルールセットを作成するプラグインです。
(gulp-iconfont と gulp-iconfont-cssのPostCSS版というイメージです)
似たようなプラグインとして、 postcss-iconfont というプラグインもありましたが、内部的にgulp-iconfontを使用しているのが嫌だったので、一から書き直してみました。
まだ動作確認もそこそこなので、不具合などがありましたらGithubのissueで連絡頂けると幸いです。