1.0.3 • Published 6 years ago
font-awesome-npm-loader v1.0.3
font-awesome-npm-loader
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)