]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/blobdiff - readme.md
Disable the creation of a shapefile.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / readme.md
index 26d06712d63c04ee4db9157c98b643b00d500fa8..290dccaad3c5e618608fbc0def7fc375373618fe 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -157,3 +157,21 @@ Additionally one mandatory property key is called 'type' and has the sub-element
 as value.
 The featurecollection itself has a properties key as well containing the attributes of
 the wrmap element.
+
+
+## Install build dependencies
+
+The following command uses `package.json` to install all dependencies
+
+    npm install
+
+
+
+## Bundle JavaScript/Typescript
+
+The TypeScript source files are below the src directory.
+To bundle them, run
+
+    npm run build
+
+Add `/*@nomin*/` close to the end of `dist/wrmap.mjs` to prevent minification bug: https://phabricator.wikimedia.org/T351610.