]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add to README about compiling JS production assets.
authorVincent Petry <vincent@nextcloud.com>
Fri, 9 Oct 2020 10:15:20 +0000 (12:15 +0200)
committerVincent Petry <vincent@nextcloud.com>
Fri, 9 Oct 2020 10:15:20 +0000 (12:15 +0200)
Add note in README about the need to checkin also compiled JS assets
after running `make build-js-production`.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
README.md

index f74dea783c54ddba50af50718fe060748e363609..5f306725cdf97bac2d76129c723d79481f98aef2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -89,6 +89,13 @@ Then inside the root folder of your local Nextcloud development installation, ru
 ./build/compile-handlebars-templates.sh
 ```
 
+Before checking in JS changes, make sure to also build for production:
+```
+make build-js-production
+```
+Then add the compiled files for committing.
+
+Please note that if you used `make build-js` or `make watch-js` before almost all files changed, so might need to clear the workspace first.
 
 ### Tools we use ðŸ›