Sfoglia il codice sorgente

VUE_APP_GIT_REPO_VERSION for production-temp

Michael Wang 5 anni fa
parent
commit
69697cee60
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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();