Answer the question
In order to leave comments, you need to log in
Why does html-webpack-plugin incorrectly include includes (required)?
I use html-webpack-plugin, I collect the includes like this:
webpack.config.js
{
test: /\.html$/,
include: path.resolve(__dirname, 'src/html/includes'),
use: ['raw-loader']
},
<%= require('./../includes/header.html') %>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question