build: fix how we pass environment from build scripts
parent
a738b1b62f
commit
7cbae07e1d
|
@ -3,8 +3,8 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ELEVENTY_ENV=prod rm -rf www && eleventy",
|
"build": "rm -rf www && ELEVENTY_ENV=prod eleventy",
|
||||||
"serve": "ELEVENTY_ENV=dev rm -rf www && eleventy --serve",
|
"serve": "rm -rf www && ELEVENTY_ENV=dev eleventy --serve",
|
||||||
"update": "git pull && npm i && npm run build"
|
"update": "git pull && npm i && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue