![](/img/trans.png)
[英]Manually filling opcode cache for entire app using apc_compile_file, then switching to new release
[英]When to use “shadow-cljs release app” vs “shadow-cljs compile app”?
在為新的 firebase 部署構建 web 應用程序時,我一直在使用:
$ shadow-cljs compile app
實際上,甚至清除東西然后重新編譯,例如:
$ rm -rf .shadow-cljs
$ shadow-cljs compile app
顯然,也可以使用release
命令:
$ shadow-cljs release app
兩者有什么區別? 每個選擇的含義是什么? 在新部署之前的構建中,最佳實踐是什么?
謝謝
compile
命令構建開發版本並退出: https://shadow-cljs.github.io/docs/UsersGuide.html#_development_mode
release
命令構建發布版本並退出: https://shadow-cljs.github.io/docs/UsersGuide.html#_release_mode
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.