CF template fix for TS source mapping.
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 4 Nov 2020 10:47:15 +0000 (11:47 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 4 Nov 2020 10:47:15 +0000 (11:47 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
manifest-cf-template.yml

index 052c276f44d71313133d59953a27747cc69dd5ce..2e37ca31845fa6b408bb465d609dd83b5ba541f0 100644 (file)
@@ -7,6 +7,6 @@ applications:
   - https://github.com/cloudfoundry/nodejs-buildpack
   no-route: true
   health-check-type: process
-  command: node dist/start.js
+  command: node -r source-map-support/register dist/start.js
   env:
     OPTIMIZE_MEMORY: true