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