html-webpack-plugin npm
npm i --save-dev html-webpack-plugin
html-webpack-plugin npm
npm i --save-dev html-webpack-plugin
htmlwebpackplugin
//installation
npm install --save-dev html-webpack-plugin
//configuration
var HtmlWebpackPlugin = require('html-webpack-plugin');
var path = require('path');
module.exports = {
entry: 'index.js',
output: {
path: path.resolve(__dirname, './dist'),
filename: 'index_bundle.js'
},
plugins: [new HtmlWebpackPlugin({
template: "./index.html",
})]
};
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us