This postcss module takes your local custom font and encode it to a base64 string which is included in your css. The supported formats are currently woff, woff2, ttf, and eot. This module is subject to change. Contribution appreciated!
npm install --save-dev postcss-font-base64
yarn add postcss-font-base64 --dev
In your postcss.config.js add this module:
moduleexports =plugins:...//future options will be handled here
There are currently no options available. Please suggest!
This is my first postCss plugin, feel free to contribute, comment or help out 🍺