Created
September 8, 2020 10:12
-
-
Save harshaktg/e39688a9300d232565c6f8e73ff0f10f to your computer and use it in GitHub Desktop.
Webpack HTML Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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