build: fix how we pass environment from build scripts
parent
a738b1b62f
commit
7cbae07e1d
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue