Skip to content

Webpack5 support #21

Open
Open
@naoak

Description

@naoak

I got the following warning when I used this loader with webpack@5, but it worked fine without the exception of options passed as query string.

npm WARN [email protected] requires a peer of [email protected] - 4.x but none is installed. You must install peer dependencies yourself.

A failed test with webpack@5.

  1) ejs-html-loader
       options passed as query string
         renders template:
     Uncaught AssertionError: expected [Error: Compiling RuleSet failed: Query arguments on 'loader' has been removed in favor of the 'options' property (at ruleSet[1].rules[1].loader: ../ejs-html-loader/src/index.js?heading=togo)] to not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions