Skip to content

warnings #23

Open
Open
@mightyaleksey

Description

@mightyaleksey

I found out that it is possible to add warnings with warn() method in the result class. Seems to me, some plugins use it to throw an error.

What you think about adding some functionality to handle those warnings and treat them as simple errors? I think we can simply throw an error somewhere here: https://github.com/css-modules/css-modules-loader-core/blob/master/src/index.js#L19

Currently, you don't see any if they occur.

Metadata

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