chore: delete _site before building

pull/1/head
Jalil Arfaoui 2022-07-21 17:35:16 +02:00
parent ce6aaafe8e
commit 49c332561f
1 changed files with 3 additions and 2 deletions

View File

@ -7,8 +7,9 @@
"author": "Jalil Arfaoui <jalil@arfaoui.net>",
"license": "MIT",
"scripts": {
"dev": "eleventy --serve",
"build": "eleventy"
"clean": "rm -rf _site",
"dev": "yarn clean && eleventy --serve",
"build": "yarn clean && eleventy"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.1",