From 6656c3dc3b70500e00b847d140b2cb2b533d9b3f Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Sun, 22 Apr 2018 12:34:38 +0200 Subject: [PATCH] Sitemap --- build.js | 6 +++++- website/sitemap.xml | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 website/sitemap.xml diff --git a/build.js b/build.js index 7090fee..6f211bb 100644 --- a/build.js +++ b/build.js @@ -61,7 +61,11 @@ const bundle = (dest = destination) => { new Parcel(dest, { name: 'build', publicURL: '/', - }).bundle(); + }) + .bundle() + .then(() => { + fs.copyFileSync('website/sitemap.xml', 'dist/sitemap.xml'); + }); }; const main = () => { diff --git a/website/sitemap.xml b/website/sitemap.xml new file mode 100644 index 0000000..58a4c01 --- /dev/null +++ b/website/sitemap.xml @@ -0,0 +1,16 @@ + + + + + + + http://awesome-docker.netlify.com/ + 2018-04-22T10:28:08+00:00 + + + + \ No newline at end of file