font-awesome-npm-loader

1.0.3 • Public • Published

font-awesome-npm-loader

npm version

Font awesome configuration and loading package for webpack, using font-awesome (Sass).

Usage

In your project copy font-awesome.config.js and import it, for example:

 import './font-awesome/font-awesome.config';

Add loader to your webpack 3 configuration:

{
    loader: 'font-awesome-npm-loader'
}

Use additional option:

options: {
  pathRelativeTo: 'path'
}

to change path from which fonts and styles will be read.

Remember that this loader generates .scss content. Use other loaders alongside to it to process it further.

Credits

  • Based on font-awesome-loader (Justin Gordon)
  • Based on font-awesome-webpack (gowravshekar)

Package Sidebar

Install

npm i font-awesome-npm-loader

Weekly Downloads

5

Version

1.0.3

License

MIT

Last publish

Collaborators

  • siatkowski.piotr