From 755e93e4d8b7a65454580bda2734fd567ac3210a Mon Sep 17 00:00:00 2001 From: marleyrae Date: Thu, 8 Jun 2023 18:03:35 -0700 Subject: [PATCH] :hammer: chore: Make build script remove dist directory as well for a clean build --- dist/index.html | 13 ++++++++----- package.json | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dist/index.html b/dist/index.html index 8f014d2..c109c17 100644 --- a/dist/index.html +++ b/dist/index.html @@ -26,7 +26,7 @@ about manifesto -diary + links
@@ -78,10 +78,13 @@ diff --git a/package.json b/package.json index c9eb4c0..ad52531 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "dev": "npx @11ty/eleventy --serve", - "build": "npx @11ty/eleventy" + "build": "rm -rf dist && npx @11ty/eleventy" }, "keywords": [], "author": "",