build(simulator): silence rollup warning
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 28 May 2023 22:42:28 +0000 (00:42 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 28 May 2023 22:42:28 +0000 (00:42 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.cfignore
rollup.config.mjs
tsconfig-base.json
tsconfig-orm.json

index 30ad46d7aad45f179813da8bc38bac0aa1ae6091..8300fc8c2ad018e45f2ef9fc5abf290fe850c27c 100644 (file)
--- a/.cfignore
+++ b/.cfignore
@@ -67,7 +67,6 @@ temp
 outputs
 coverage
 node_modules
-!dist/node_modules
 sonar-project.properties
 performanceRecords.json
 performanceRecords.json.lock
index a8b6e077338197737313863d0473db86f860b1e3..e044b23cf94e6f2ee49977f2053db405dc9343b5 100644 (file)
@@ -57,6 +57,9 @@ export default {
     json(),
     typescript({
       tsconfig: 'tsconfig.json',
+      compilerOptions: {
+        sourceMap: !!isDevelopmentBuild,
+      },
     }),
     del({
       targets: [
index 28e4186cc7a46108190920667ad2534c1c322ea6..658bfcfcb007f0d91129deff97701f59d30f3698 100644 (file)
@@ -15,7 +15,7 @@
     // "jsx": "preserve",                     /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
     // "declaration": true,                   /* Generates corresponding '.d.ts' file. */
     // "declarationMap": true,                /* Generates a sourcemap for each corresponding '.d.ts' file. */
-    "sourceMap": true,                        /* Generates corresponding '.map' file. */
+    // "sourceMap": true,                     /* Generates corresponding '.map' file. */
     // "outFile": "./",                       /* Concatenate and emit output to single file. */
     "outDir": "./dist",                       /* Redirect output structure to the directory. */
     "rootDir": "./",                          /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
index 2c7b284162f4cafdbef8875c7ae7cb517c8e7abd..7bf0a6cb021be91e7c31854ac53abbb24d981259 100644 (file)
@@ -1,6 +1,8 @@
 {
-  "extends": "./tsconfig.json",
+  "extends": "./tsconfig-base.json",
   "compilerOptions": {
-    "module": "commonjs"
+    "module": "commonjs",
+    "sourceMap": true,
+    "verbatimModuleSyntax": true
   }
 }