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