瀏覽代碼

VUE_APP_GIT_REPO_VERSION for production-temp

Michael Wang 5 年之前
父節點
當前提交
69697cee60
共有 1 個文件被更改,包括 5 次插入0 次删除
  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();