Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@prakash122
Created April 11, 2018 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prakash122/05cd1355e940b156b9a2cd2db8294f66 to your computer and use it in GitHub Desktop.
Save prakash122/05cd1355e940b156b9a2cd2db8294f66 to your computer and use it in GitHub Desktop.
// Require the plugin
const HtmlWebpackPlugin = require('html-webpack-plugin');
config.plugins = [
...,
new HtmlWebpackPlugin({
template: 'app/index.ejs',
title: 'Webpack Starter'
})
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment