5.0.1 • Published 3 years ago
gatsby-plugin-force-file-loader v5.0.1
gatsby-plugin-force-file-loader 
Force Webpack to use file-loader instead of url-loader in fonts, images and
media rules.
Installation
npm install gatsby-plugin-force-file-loaderUsage
/* gatsby-config.js */
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-force-file-loader'
options: {
/* gatsby-plugin-force-file-loader options here */
}
}
]
}Options
rules
Type: Array. Default: ['fonts', 'images', 'media'].
The rules that should use file-loader instead of url-loader. By default, all
the three types are enabled.