What exactly am I supposed to do with “module.exports = 'html_template_content'” on webpack
问题 So I want to do a very simple task using webpack. I have a few static HTML templates like e.g. test.html <div><span>template content</span></div> and all I want to do is return the string inside the template e.g require("raw!./test.html") with should return a string like: "<div><span>template content</span></div>" but instead, it returns the following string "modules.exports = <div><span>template content</span></div>" I have tried several modules, like the raw-loader and html-loader. and they