build: 🔧 clean output directory before build
This commit is contained in:
parent
6164c18f0d
commit
1fb1591a03
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "eleventy --serve & npx tailwindcss -i ./src/css/style.css -o ./public/css/style.css --watch",
|
||||
"build": "ELEVENTY_PRODUCTION=true eleventy && NODE_ENV=production npx tailwindcss -i ./src/css/style.css -o ./public/css/style.css --minify"
|
||||
"build": "ELEVENTY_PRODUCTION=true eleventy && NODE_ENV=production npx tailwindcss -i ./src/css/style.css -o ./public/css/style.css --minify",
|
||||
"prebuild": "rm -rf ./public"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue