From f3af1c055c9d71c867d6856e925634cd617fbc5b Mon Sep 17 00:00:00 2001 From: Eko Eryanto <36023898+ekoeryanto@users.noreply.github.com> Date: Fri, 23 Feb 2018 22:09:57 +0700 Subject: [PATCH] feat(yarn): set and persist offline mirror (#2037) * feat(yarn): set and persist offline mirror * missing backslash --- yarn.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yarn.json b/yarn.json index 27beaff4fa..9ca69aab03 100644 --- a/yarn.json +++ b/yarn.json @@ -15,10 +15,12 @@ "hash": "d2a4f6887381df152b0595fcf3b5590c6a7bc7b380ed364ad9f11595d099664d", "persist": [ "cache", - "bin" + "bin", + "mirror" ], "post_install": " yarn config set cache-folder \"$dir\\cache\" + yarn config set yarn-offline-mirror \"$dir\\mirror\" yarn config set prefix \"$dir\" ", "env_add_path": [