README
Font Loaders Preset
Plug n Play Font Support Configuration for webpack.
This plugin generates webpack loader configuration for Font file support.
Usage
- Install plugin
yarn add @arcana/font-loaders-preset. - Add to your webpack config with your other plugins.
const FontLoaders = require('@arcana/font-loaders-preset');
module.exports = {
plugins: [new FontLoaders()],
};
Use the same code for both of your configs -
productionanddevelopment.Remove Font Loader configuration if present. The plugin will automatically handles font files with file loader.