Skip to content

Webpack5 support #21

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 ejs-html-loader@4.0.1 requires a peer of webpack@2.x - 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

Activity

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

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