1.0.3 • Published 6 years ago

fontpreload-webpack-plugin v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Installation

npm install fontpreload-webpack-plugin --save-dev

Usage

Add this plugin in your webpack config file.

const FontPreloadWebpackPlugin = require('fontpreload-webpack-plugin');
plugins: [
    new FontPreloadWebpackPlugin({
        rel: 'prefetch', // preload default
        fontNameList: ['fontawesome-webfont'],
        crossorigin: 'anonymous', // anonymous|use-credentialscredentials|false false default
    })
],
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago