prod + viewport meta
This commit is contained in:
parent
b18c03234a
commit
65f20beaf7
1 changed files with 2 additions and 1 deletions
|
@ -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'},
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue