Skip to content

Webpack5 support #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
naoak opened this issue Nov 9, 2021 · 1 comment
Open

Webpack5 support #21

naoak opened this issue Nov 9, 2021 · 1 comment

Comments

@naoak
Copy link

naoak commented Nov 9, 2021

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
@evanprimacy
Copy link

Any love for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants