Browse Source

Add meta tags

master
Nathan Bergey 5 years ago
parent
commit
236bb01f3a
  1. 1
      src/index.html
  2. 5
      webpack.config.js

1
src/index.html

@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>

5
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',
}
}),
]
}
Loading…
Cancel
Save