You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/11/20 10:45:38 UTC

[incubator-dlab] 01/03: eject moment locales from vendor; added parameters to compilerOptions

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch DLAB-1235
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 5caa44ff9543a9e777f02815f397142568de097c
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Nov 18 15:00:21 2019 +0200

    eject moment locales from vendor; added parameters to compilerOptions
---
 .../src/main/resources/webapp/src/tsconfig.app.json            | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/tsconfig.app.json b/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
index 116e716..be171af 100644
--- a/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
+++ b/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
@@ -12,7 +12,15 @@
     ],
     "outDir": "../out-tsc/app",
     "baseUrl": "",
-    "types": []
+    "types": [],
+    "paths": {
+      "moment": [
+        "../node_modules/moment/min/moment.min.js"
+      ],
+      "moment-timezone": [
+        "../node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"
+      ]
+    }
   },
   "typeRoots": [
     "node_modules/@types"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org