Skip to content

Escape ! in binding loaders section of the tutorial #1733

@cweems

Description

@cweems

In the tutorial, I encountered an error "event not found: css" when doing:

$ webpack ./entry.js bundle.js --module-bind "css=style!css"

It appears that the ! before css needs to be escaped in order to function properly:

$ webpack ./entry.js bundle.js --module-bind "css=style\!css"

A note reminding users to escape that might be helpful. I spend a few minutes trying to figure this one out.

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