From 236bb01f3a7f577e269ad435b78700766485f4fc Mon Sep 17 00:00:00 2001 From: Nathan Bergey Date: Mon, 18 Feb 2019 20:17:14 -0500 Subject: [PATCH] Add meta tags --- src/index.html | 1 + webpack.config.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 3cf93db..cabd8e2 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,7 @@ + <%= htmlWebpackPlugin.options.title %> diff --git a/webpack.config.js b/webpack.config.js index 2789650..3457d47 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -26,7 +26,10 @@ module.exports = { title: 'Weather for Philadelphia, PA', template: './src/index.html', path: path.join(__dirname, "./dist/"), - filename: 'index.html' + filename: 'index.html', + meta: { + viewport: 'width=device-width, initial-scale=1, shrink-to-fit=no', + } }), ] }