commit eff785df0569fd03db12b4ade60be01b34ad6887
parent 4dc35bbd986ef2d5c27a5dc2f8e3b58b47379428
Author: George Francis <georgedoescode@gmail.com>
Date: Sat, 11 Jul 2020 19:25:36 +0100
add sitemap to robots.txt
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/webpack.config.js b/webpack.config.js
@@ -137,7 +137,9 @@ module.exports = (env, argv) => {
new CopyPlugin({
patterns: [{ from: './public/og-image.png', to: '' }],
}),
- new RobotstxtPlugin({}),
+ new RobotstxtPlugin({
+ sitemap: 'https://squircley.app/sitemap.xml',
+ }),
new CleanWebpackPlugin(),
],
};