I use Webpack along with the plugin html-webpack-plugin. Based on an environment variable, I want to inject a tag into th
html-webpack-plugin
new HtmlWebpackPlugin({ template: 'index.html', meta: { author: process.env.AUTHOR } });
resulting in the inclusion of the following within your head tag.