html-webpack-plugin.template not render webpack template variable
loynoir opened this issue · 1 comments
loynoir commented
Current behaviour 💣
new HtmlWebpackPlugin({
// webpack template `[name]` is not rendered
template: './src/[name].html',
// webpack template `[name]` is rendered
filename: '[name].html',
})
Module not found: Error: Can't resolve 'path/to/[name].html' in 'foo/bar'
Expected behaviour ☀️
No error.
Reproduction Example 👾
Environment 🖥
jantimon commented
Not enough information