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.

Feature request: Add an option to replace "file-loader" with any other customized loader #82

Closed
@liujingbreak

Description

@liujingbreak

Current the url-loader is hard coded to fallback calling file-loader internally.
What I wish is that I can use a customized loader to replace file-loader, e.g. lib/dr-file-loader

{
	test: /\.(jpg|png|gif|svg|jpeg|eot|woff2|woff|ttf)$/,
	use: [
          {loader: 'lib/dr-file-loader'},
          {loader: 'lib/url-loader'},
        ]
}

Or

{
     test: /\.(jpg|png|gif|svg|jpeg|eot|woff2|woff|ttf)$/,
	use: [
          {loader: 'lib/url-loader', options: {
                    use: [ {loader: 'lib/dr-file-loader'} ]
                },
        ]
}

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