Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Webpack HTML Config
const HTMLWebpackPlugin = require('html-webpack-plugin')
const path = require('path')
module.exports = {
plugins: [
new HTMLWebpackPlugin({
template: path.resolve(__dirname, "source", "index.html")
})
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment