aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-05 07:42:56 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-05 07:42:56 +0800
commit1b4c477ddb13d5d305f3a607e3b3c837d143b311 (patch)
treee60b856c2ae6d3589766dd9a8c002707f4cbc5c9
parentc43ba6b3c7082544f8aa8f1c297eb271ca079ea4 (diff)
downloaddexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar.gz
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar.bz2
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar.lz
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar.xz
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.tar.zst
dexon-sol-tools-1b4c477ddb13d5d305f3a607e3b3c837d143b311.zip
Ensure build process receives build arguments
See https://github.com/entropitor/dotenv-cli/issues/8
-rw-r--r--packages/instant/.dogfood.discharge.json2
-rw-r--r--packages/instant/.production.discharge.json2
-rw-r--r--packages/instant/.staging.discharge.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/.dogfood.discharge.json b/packages/instant/.dogfood.discharge.json
index 5d6a09a16..651b3daa6 100644
--- a/packages/instant/.dogfood.discharge.json
+++ b/packages/instant/.dogfood.discharge.json
@@ -1,6 +1,6 @@
{
"domain": "0x-instant-dogfood",
- "build_command": "WEBPACK_OUTPUT_PATH=public dotenv yarn build --env.discharge_target=dogfood",
+ "build_command": "WEBPACK_OUTPUT_PATH=public dotenv yarn build -- --env.discharge_target=dogfood",
"upload_directory": "public",
"index_key": "index.html",
"error_key": "index.html",
diff --git a/packages/instant/.production.discharge.json b/packages/instant/.production.discharge.json
index 947f68b1a..1ce39fdd8 100644
--- a/packages/instant/.production.discharge.json
+++ b/packages/instant/.production.discharge.json
@@ -1,6 +1,6 @@
{
"domain": "instant.0xproject.com",
- "build_command": "dotenv yarn build --env.discharge_target=production",
+ "build_command": "dotenv yarn build -- --env.discharge_target=production",
"upload_directory": "umd",
"index_key": "instant.js",
"error_key": "404.html",
diff --git a/packages/instant/.staging.discharge.json b/packages/instant/.staging.discharge.json
index bd5f28ba8..844e3ca4e 100644
--- a/packages/instant/.staging.discharge.json
+++ b/packages/instant/.staging.discharge.json
@@ -1,6 +1,6 @@
{
"domain": "0x-instant-staging",
- "build_command": "dotenv WEBPACK_OUTPUT_PATH=public yarn build --env.discharge_target=staging",
+ "build_command": "WEBPACK_OUTPUT_PATH=public dotenv yarn build -- --env.discharge_target=staging",
"upload_directory": "public",
"index_key": "index.html",
"error_key": "index.html",