@akqa-frontline/font-config-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

@akqa-frontline/font-config-webpack-plugin

GitHub npm (scoped)

this package is not yet fully documented

Font configuration for webpack.

What does it do

This package lets you use font assets in your JS and (S)CSS files.

Install

Install this package and its peer dependencies:

npm install --save-dev --save-exact @akqa-frontline/font-config-webpack-plugin
npm install --save-dev --save-exact webpack

Usage

Add the plugin to your webpack configuration

// webpack.config.js

const {FrontlineFontConfigWebpackPlugin} = require("@akqa-frontline/font-config-webpack-plugin")

module.exports = {
    plugins: [
        new FrontlineFontConfigWebpackPlugin()
    ]
}

Take a look at webpack-config for instructions on a more complete Frontline webpack configuration.

Contributing

Please refer to the contributing document.

License

ISC © AKQA

Readme

Keywords

none

Package Sidebar

Install

npm i @akqa-frontline/font-config-webpack-plugin

Weekly Downloads

21

Version

0.8.0

License

ISC

Unpacked Size

41.4 kB

Total Files

28

Last publish

Collaborators

  • dni