From c6d629ad459074d4f86e36a9d2ec50a328c12613 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Wed, 19 Feb 2020 06:06:43 -0700 Subject: [PATCH] support meta description --- webpack.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 9cff939..64ebc2c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -111,7 +111,8 @@ let plugins = (env, argv) => [ minify: argv.mode == 'production' ? htmlMin : false, template: './template.html', meta: { - viewport: 'width=320, initial-scale=1, maximum-scale=5' + viewport: 'width=320, initial-scale=1, maximum-scale=5', + description: DESCRIPTION, } }), ]; @@ -181,4 +182,4 @@ module.exports = (env, argv) => ({ ], }, plugins: [...plugins(env, argv), ...(argv.mode == 'production' ? productionPlugins : [])], -}) \ No newline at end of file +})