html-loader

This commit is contained in:
vigdorov
2020-07-08 10:47:27 +03:00
parent 8e1b988489
commit 2bbf6082a5
3 changed files with 95 additions and 0 deletions

View File

@ -26,6 +26,10 @@ module.exports = {
],
module: {
rules: [
{
test: /\.html$/i,
loader: 'html-loader',
},
{
test: /\.css$/i,
use: [MiniCssExtractPlugin.loader, 'css-loader'],