prod + viewport meta

This commit is contained in:
ashastral 2022-02-27 23:07:29 -08:00
parent b18c03234a
commit 65f20beaf7

View file

@ -7,7 +7,7 @@ module.exports = {
path: path.resolve(__dirname, "dist"),
filename: "bootstrap.js",
},
mode: "development",
mode: "production",
devtool: "source-map",
resolve: {
extensions: ['', '.js', '.json', '.ts', '.tsx'],
@ -31,6 +31,7 @@ module.exports = {
plugins: [
new HtmlWebpackPlugin({
title: 'Optimle, a word guessing game',
meta: {viewport: 'width=device-width, initial-scale=1, shrink-to-fit=no'},
}),
],
};