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"),
|
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'},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue