ejs-html-loader icon indicating copy to clipboard operation
ejs-html-loader copied to clipboard

Webpack5 support

Open naoak opened this issue 4 years ago • 1 comments

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

naoak avatar Nov 09 '21 12:11 naoak

Any love for this?

evanprimacy avatar Feb 02 '22 18:02 evanprimacy