Skip to content
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
Closed
@ghost

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"
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions