jantimon/html-webpack-plugin

html-webpack-plugin.template not render webpack template variable

loynoir opened this issue · 1 comments

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 🖥

Not enough information