postcss-remove-format-fonts
v1.0.3
Published
A simple postcss plugin for removing fonts with specific formats.
Downloads
85
Readme
Usage
Install
npm add --save-dev postcss-remove-format-fonts # Npm
yarn add -D postcss-remove-format-fonts # Yarn
pnpm add -D postcss-remove-format-fonts # Pnpm
Config
// postcss.config.js
import postcssRemoveFontFormat from 'postcss-remove-format-fonts';
export default {
plugins: [postcssRemoveFontFormat('woff')],
};
or
// postcss.config.js
import postcssRemoveFontFormat from 'postcss-remove-format-fonts';
export default {
plugins: [postcssRemoveFontFormat(['woff', 'openType'])],
};