]> 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 8766f640a7b226d8ba228e2e0f7145755be3fca9..290dccaad3c5e618608fbc0def7fc375373618fe 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -159,6 +159,19 @@ The featurecollection itself has a properties key as well containing the attribu
 the wrmap element.
 
 
-## Compile JavaScript
+## Install build dependencies
 
-To compile typescript to JavaScript, call `tsc`.
+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.