I have written a simple template
test.html
<div>raw text with content</div>
all I want to do is requiring the raw file, with no modifications
like
require('./test.html'); // should return "<div>raw text with content</div>"
I have tried loading the html using the extra-text-plugin, but it doesn't work
var ExtractTextPlugin = require('extract-text-webpack-plugin'); 
module.exports =
{
    module:
    {
        loaders:
            [
                { test: /\.html$/, loader: 'html' }
            ]
    },
    plugins: [
        new ExtractTextPlugin("[name].html")
    ]
};
                Try to use html-loader:
 import TestTemplate from 'html!./test.html';
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With