0.1.0-alpha.2 • Published 5 years ago
@arcana/font-loaders-preset v0.1.0-alpha.2
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 -
production
anddevelopment
.Remove Font Loader configuration if present. The plugin will automatically handles font files with file loader.
0.1.0-alpha.2
5 years ago
0.1.0-alpha.1
5 years ago