Browse Source

VUE_APP_GIT_REPO_VERSION for production-temp

Michael Wang 5 năm trước cách đây
mục cha
commit
69697cee60
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      prebuild.js

+ 5 - 0
prebuild.js

@@ -39,4 +39,9 @@ fs.writeFileSync(
   "VUE_APP_GIT_REPO_VERSION=" + buildDate + " - " + revision
 );
 
+fs.writeFileSync(
+  ".env.production-temp.local",
+  "VUE_APP_GIT_REPO_VERSION=" + buildDate + " - " + revision
+);
+
 console.log();