loleaflet/README |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 93c114d0f46d4bf255fdb4386f4009da3f74311f
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Tue Aug 16 11:17:00 2016 +0530

    Update README

diff --git a/loleaflet/README b/loleaflet/README
index 048c704..8d5342d 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -48,18 +48,25 @@ Just do:
 
     make
 
-Above step would create a minified bundle.js and admin-bundle.js in dist/ for 
main loleaflet and admin console
+Above step would create a non-minified bundle.js and admin-bundle.js without 
source-maps in dist/ for main loleaflet and admin console
 respectively.
 
 To build with debug-info, i.e with sourcemaps:
 
-    make debug
+    make DEBUG=true
 
 Above will produce source-map files, bundle.js.map and admin-bundle.js.map, 
for bundle.js and admin-bundle.js respectively.
 It will also link existing bundle.js and admin-bundle.js to their map files by 
adding a sourceMappingURL to them. While debugging,
 these .map files will be fetched from the server if present in dist/, 
otherwise there is no way to debug while browsing without these
 source-map files.
 
+To minify our bundle.js and admin-bundle.js passing a MINIFY=true flag to 
'make' will minify it. This can be helpful in production
+environments.
+
+    make MINIFY=true
+
+'make dist' forces minifying.
+
 Running
 -------
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to