build: fix how we pass environment from build scripts

pull/1/head
maia arson crimew 2023-06-08 18:09:18 +02:00
parent a738b1b62f
commit 7cbae07e1d
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
"version": "1.0.0",
"description": "",
"scripts": {
"build": "ELEVENTY_ENV=prod rm -rf www && eleventy",
"serve": "ELEVENTY_ENV=dev rm -rf www && eleventy --serve",
"build": "rm -rf www && ELEVENTY_ENV=prod eleventy",
"serve": "rm -rf www && ELEVENTY_ENV=dev eleventy --serve",
"update": "git pull && npm i && npm run build"
},
"dependencies": {