Finally, thanks to this article, all I need is html-loader. Then I can just add import html from 'some.html'.
solved Compiling HTML, CSS, and JS, into a single JS file
 
Finally, thanks to this article, all I need is html-loader. Then I can just add import html from 'some.html'.
solved Compiling HTML, CSS, and JS, into a single JS file