From bc474cba27c5f2d347d93f83e188ca4431dfcee4 Mon Sep 17 00:00:00 2001 From: evlist Date: Tue, 4 Oct 2022 22:37:39 +0200 Subject: [PATCH] Note to self --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e990bcb..a82ad90 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,17 @@ KML might be considered as an import format. And SVG, of course will be used to render tracks and routes on a map since its elements are directly supported by React. +## Notes to self + +### Patching node_modules + +This can be done by updating their sources in the node_modules directory and using the patch-package npm CLI command (thanks [stackoverflow](https://stackoverflow.com/a/13302095/1402881)) : + +``` +$npx patch-package localized-strings +``` + +However, it takes ages before `ionic serve` takes these modifications into account. + +