This repository was archived by the owner on Mar 17, 2021. It is now read-only.
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
fallback loader options #118
Closed

Description
Make it possible to add options to the fallback loader
e.g.
{
test: /\.(woff|woff2|eot|ttf|svg)$/,
use: {
loader: "url-loader",
options: {
limit: 8192,
fallback: {
loader: "file-loader",
options: {
name: isProd ? "[hash:7].[ext]" : "[name].[ext]",
publicPath: "/fonts",
outputPath: "fonts"
}
}
}
}
}