Skip to content

Confusing usage of webpack rule.loader in react-scripts #5736

Closed
@dbFlower

Description

In webpack.config.prod.js L391 L405 L420 L437, loaderis used instead of use. See: webpack.config.prod.js .

In file webpack.config.dev.js L318 L326 L340 L346 , it's correct usage use. See: webpack.config.dev.js

Webpack4 documentation here:

Rule.loader is a shortcut to Rule.use: [ { loader } ]. See Rule.use and UseEntry.loader for details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions