webpack-contrib / html-loader

HTML Loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After upgrading from v1.3.2 to v2.1.2, <%= require("html-loader!x.html") %> is not available.

chishuix opened this issue · comments

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

When I use the v1.3.2 version, using this code can get the correct display.

<%= require("html-loader!/src/components/_topbar.html") %>

I checked the document before upgrading the version, and the wording has not changed, so I upgraded the version.

But when I upgraded to v2.1.2, using the same code showed [object Module].

Now, I need some help, thank you.

Duplicate #291